Partager via


WssInterop.GetWSSVServerURL Method

Gets the URL of a specified SharePoint site.

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/GetWSSVServerURL", 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 GetWSSVServerURL ( _
    wssServerUID As Guid _
) As String
'Usage
Dim instance As WssInterop
Dim wssServerUID As Guid
Dim returnValue As String

returnValue = instance.GetWSSVServerURL(wssServerUID)
[SoapDocumentMethodAttribute("https://schemas.microsoft.com/office/project/server/webservices/WssInterop/GetWSSVServerURL", 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 GetWSSVServerURL(
    Guid wssServerUID
)

Parameters

  • wssServerUID
    Type: System.Guid
    The GUID of the server within a farm.

Return Value

Type: System.String
The string of the SharePoint site URL.

Remarks

The site must be within the 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