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 权限

权限

说明

LogOn

允许用户登录到 Project Server。全局权限。

ManageWindowsSharePointServices

允许用户管理项目项目网站网站。全局权限。

另请参阅

引用

WssInterop 类

WssInterop 成员

WebSvcWssInterop 命名空间