Поделиться через


WssInterop.GetWSSVServerURLs Method

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

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

Syntax

'Declaration
<SoapDocumentMethodAttribute("http://schemas.microsoft.com/office/project/server/webservices/WssInterop/GetWSSVServerURLs", 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 GetWSSVServerURLs As String()
'Usage
Dim instance As WssInterop
Dim returnValue As String()

returnValue = instance.GetWSSVServerURLs()
[SoapDocumentMethodAttribute("http://schemas.microsoft.com/office/project/server/webservices/WssInterop/GetWSSVServerURLs", 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 string[] GetWSSVServerURLs()

Return Value

Type: []
String array of Windows SharePoint Services URLs.

Remarks

The sites must be within a Windows SharePoint Services farm.

Project Server Permissions

Permission

Description

LogOn

Log on to Project Server. Global permission.

See Also

Reference

WssInterop Class

WssInterop Members

WebSvcWssInterop Namespace