Share via


WssInterop.ReadWssServerInfo Method

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

Namespace:  [WssInterop Web service]
Service reference: http://ServerName:32843/[Project Service Application GUID]/PSI/WssInterop.svc
Web service reference: http://ServerName/ProjectServerName/_vti_bin/PSI/WssInterop.asmx?wsdl

Syntax

'Declaration
<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
'Usage
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()

Return Value

Type: [WssInterop Web service].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 SharePoint farm.

Project Server Permissions

Permission

Description

LogOn

Allows the user to log on to Project Server. Global permission.

ManageWindowsSharePointServices

Allows the user to manage the project project site site. Global permission.

See Also

Reference

WssInterop Class

WssInterop Members

WssInterop Web Service