WssInterop.WSSWebExists method
Checks whether a specified project site exists.
Namespace: WebSvcWssInterop
Assembly: ProjectServerServices (in ProjectServerServices.dll)
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.StringThe 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 |
---|---|
Allows a user to log on to Project Server. Global permission. |