Share via


WssInterop.GetWSSVServerURLs method

Gets a list of URLs for SharePoint virtual servers within a farm.

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

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

WebSvcWssInterop namespace