Share via


WssInterop.WSSWebExists Method

Checks whether a specified project site exists.

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/WSSWebExists", 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 WSSWebExists ( _
    wssWebFullUrl As String _
) As Boolean
'Usage
Dim instance As WssInterop
Dim wssWebFullUrl As String
Dim returnValue As Boolean

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

Parameters

  • wssWebFullUrl
    Type: System.String
    The URL of a website to check.

Return Value

Type: System.Boolean
Returns true if the specified SharePoint site exists; otherwise, false.

Remarks

The WSSWebExists method validates that the wssWebFullUrl value is a well-formed URI and that the site hierarchy exists. The method then validates that the project site name is not blank and that the project site exists.

Project Server Permissions

Permission

Description

LogOn

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

See Also

Reference

WssInterop Class

WssInterop Members

WssInterop Web Service