WssInterop.WSSWebExists メソッド
指定した、 プロジェクト サイトが存在するかどうかを確認します。
名前空間: 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確認する web サイトの URL です。
戻り値
型: System.Boolean
指定された SharePoint サイトが存在する場合を返しますtrueそれ以外の場合、 false。
注釈
WSSWebExistsメソッドは、 wssWebFullUrl値に正しい形式の URI があると、サイトの階層が存在することを検証します。メソッドは、 プロジェクト サイト名前が空白でないことと、 プロジェクト サイトが存在することを検証します。
プロジェクト サーバーのアクセス許可
権限 |
説明 |
---|---|
Project Server にログオンすることができます。グローバル アクセス権。 |