Compartilhar via


WssInterop.WSSWebExists método

Verifica se um especificado project site existe.

Namespace:  WebSvcWssInterop
Assembly:  ProjectServerServices (em ProjectServerServices.dll)

Sintaxe

'Declaração
<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
'Uso
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
)

Parâmetros

  • wssWebFullUrl
    Tipo: System.String

    A URL de um site para verificar.

Valor retornado

Tipo: System.Boolean
Retorna true se existir do site do SharePoint especificado. Caso contrário, false.

Comentários

O método WSSWebExists valida que o valor de wssWebFullUrl é um URI válido e a existência de hierarquia de sites. O método valida depois que o nome de project site não está em branco e se o project site existe.

Permissões do Project Server

Permissão

Descrição

LogOn

Permite que um usuário faça logon no Project Server. Permissão global.

Ver também

Referência

WssInterop classe

WssInterop membros

WebSvcWssInterop namespace