共用方式為


WssInterop.GetWSSVServerURL 方法

會取得指定的 SharePoint 網站的 URL。

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

語法

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

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

參數

  • wssServerUID
    類型:System.Guid

    在伺服器陣列內伺服器的 GUID。

傳回值

類型:System.String
SharePoint 網站 URL 的字串。

備註

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

Project Server 權限

權限

描述

LogOn

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

請參閱

參照

WssInterop 類別

WssInterop 成員

WebSvcWssInterop 命名空間