WssInterop.ReadWssServerInfo 方法
會取得所有 「 SharePoint 伺服器與伺服器陣列中的網站的相關資訊。
命名空間: WebSvcWssInterop
組件: ProjectServerServices (在 ProjectServerServices.dll 中)
語法
'宣告
<SoapDocumentMethodAttribute("https://schemas.microsoft.com/office/project/server/webservices/WssInterop/ReadWssServerInfo", RequestNamespace := "https://schemas.microsoft.com/office/project/server/webservices/WssInterop/", _
ResponseNamespace := "https://schemas.microsoft.com/office/project/server/webservices/WssInterop/", _
Use := SoapBindingUse.Literal, ParameterStyle := SoapParameterStyle.Wrapped)> _
Public Function ReadWssServerInfo As WssServersDataSet
'用途
Dim instance As WssInterop
Dim returnValue As WssServersDataSet
returnValue = instance.ReadWssServerInfo()
[SoapDocumentMethodAttribute("https://schemas.microsoft.com/office/project/server/webservices/WssInterop/ReadWssServerInfo", RequestNamespace = "https://schemas.microsoft.com/office/project/server/webservices/WssInterop/",
ResponseNamespace = "https://schemas.microsoft.com/office/project/server/webservices/WssInterop/",
Use = SoapBindingUse.Literal, ParameterStyle = SoapParameterStyle.Wrapped)]
public WssServersDataSet ReadWssServerInfo()
傳回值
類型:WebSvcWssInterop.WssServersDataSet
WssServersDataSet包含每個站台的下列資訊: GUID、 主機名稱、 URL、 連接埠和網站是否使用 SSL。
備註
SharePoint 伺服器陣列內的網站。
Project Server 權限
權限 |
描述 |
---|---|
允許使用者登入 Project Server。通用權限。 |
|
可讓使用者管理專案project site網站。通用權限。 |