检查指定的项目网站是否存在。
命名空间: WebSvcWssInterop
程序集: ProjectServerServices(位于 ProjectServerServices.dll 中)
语法
声明
<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
用法
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
)
参数
wssWebFullUrl
类型:System.String检查网站的 URL。
返回值
类型:System.Boolean
返回true如果指定的 SharePoint 网站存在 ;否则为false。
备注
WSSWebExists方法验证wssWebFullUrl值是一个格式正确的 URI 和网站层次结构是否存在。该方法然后验证项目网站名称不为空,并且项目网站存在。
Project Server 权限
权限 |
说明 |
|---|---|
允许用户登录到 Project Server。全局权限。 |