WssInterop.WSSWebExists Method
Checks whether a specified SharePoint workspace site exists for a project.
Namespace: WebSvcWssInterop
Assembly: ProjectServerWebServices (in ProjectServerWebServices.dll)
Syntax
'Declaration
<SoapDocumentMethodAttribute("http://schemas.microsoft.com/office/project/server/webservices/WssInterop/WSSWebExists", 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 WSSWebExists ( _
wssWebFullUrl As String _
) As Boolean
'Usage
Dim instance As WssInterop
Dim wssWebFullUrl As String
Dim returnValue As Boolean
returnValue = instance.WSSWebExists(wssWebFullUrl)
[SoapDocumentMethodAttribute("http://schemas.microsoft.com/office/project/server/webservices/WssInterop/WSSWebExists", 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 bool WSSWebExists(
string wssWebFullUrl
)
Parameters
- wssWebFullUrl
Type: System.String
URL of a Web site to check.
Return Value
Type: System.Boolean
Returns true if the specified Windows SharePoint Services Web site exists. 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 workspace name is not blank and that the project workspace exists.
Remarks
Project Server Permissions
Permission |
Description |
---|---|
Log on to Project Server. Global permission. |