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