WssInterop.GetWSSVServerURLs Method

Gets a list of URLs for SharePoint virtual servers within 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/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()
'Usage
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()

Return Value

Type: []
The string array of SharePoint URLs.

Remarks

The sites must be within a SharePoint farm.

Project Server Permissions

Permission

Description

LogOn

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

See Also

Reference

WssInterop Class

WssInterop Members

WssInterop Web Service