Share via


WssInterop.ReadWssServerInfo Method

Gets information about all of the SharePoint servers and sites in a farm.

Namespace:  WebSvcWssInterop
Assembly:  ProjectServerWebServices (in ProjectServerWebServices.dll)

Syntax

'Declaration
<SoapDocumentMethodAttribute("http://schemas.microsoft.com/office/project/server/webservices/WssInterop/ReadWssServerInfo", RequestNamespace := "http://schemas.microsoft.com/office/project/server/webservices/WssInterop/",  _
    ResponseNamespace := "http://schemas.microsoft.com/office/project/server/webservices/WssInterop/",  _
    Use := SoapBindingUse.Literal, ParameterStyle := SoapParameterStyle.Wrapped)> _
Public Function ReadWssServerInfo As WssServersDataSet
'Usage
Dim instance As WssInterop
Dim returnValue As WssServersDataSet

returnValue = instance.ReadWssServerInfo()
[SoapDocumentMethodAttribute("http://schemas.microsoft.com/office/project/server/webservices/WssInterop/ReadWssServerInfo", RequestNamespace = "http://schemas.microsoft.com/office/project/server/webservices/WssInterop/", 
    ResponseNamespace = "http://schemas.microsoft.com/office/project/server/webservices/WssInterop/", 
    Use = SoapBindingUse.Literal, ParameterStyle = SoapParameterStyle.Wrapped)]
public WssServersDataSet ReadWssServerInfo()

Return Value

Type: WebSvcWssInterop.WssServersDataSet
The WssServersDataSet includes the following information for each site: GUID, host name, port, URL, and whether the site uses SSL.

Remarks

The sites are within a Windows SharePoint Services farm.

Project Server Permissions

Permission

Description

LogOn

Log on to Project Server. Global permission.

ManageWindowsSharePointServices

Manage the project workspace site. Global permission.

See Also

Reference

WssInterop Class

WssInterop Members

WebSvcWssInterop Namespace