共用方式為


WssInterop.GetWSSVServerURLs 方法

取得 SharePoint 伺服器陣列中的虛擬伺服器的 Url 清單。

命名空間:  WebSvcWssInterop
組件:  ProjectServerServices (在 ProjectServerServices.dll 中)

語法

'宣告
<SoapDocumentMethodAttribute("https://schemas.microsoft.com/office/project/server/webservices/WssInterop/GetWSSVServerURLs", 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 GetWSSVServerURLs As String()
'用途
Dim instance As WssInterop
Dim returnValue As String()

returnValue = instance.GetWSSVServerURLs()
[SoapDocumentMethodAttribute("https://schemas.microsoft.com/office/project/server/webservices/WssInterop/GetWSSVServerURLs", 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 string[] GetWSSVServerURLs()

傳回值

類型:[]
SharePoint Url 的字串陣列。

備註

網站必須是 SharePoint 伺服器陣列中。

Project Server 權限

權限

描述

LogOn

允許使用者登入 Project Server。通用權限。

請參閱

參照

WssInterop 類別

WssInterop 成員

WebSvcWssInterop 命名空間