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 命名空间