Partager via


WssInterop.WSSWebExists - Méthode

Vérifie l'existence d'un spécifié site de projets.

Espace de noms :  WebSvcWssInterop
Assembly :  ProjectServerServices (dans ProjectServerServices.dll)

Syntaxe

'Déclaration
<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
'Utilisation
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
)

Paramètres

  • wssWebFullUrl
    Type : System.String

    L'URL d'un site Web à vérifier.

Valeur renvoyée

Type : System.Boolean
Cette propriété renvoie true si le site SharePoint spécifié existe ; dans le cas contraire, false.

Remarques

La méthode WSSWebExists valide le fait que la valeur de wssWebFullUrl est un URI de forme correcte et l'existence de la hiérarchie du site. La méthode vérifie ensuite que le nom de site de projets n'est pas vide et que l' site de projets existe.

Autorisations Project Server

Autorisation

Description

LogOn

Permet à un utilisateur de se connecter à Project Server. Autorisation globale.

Voir aussi

Référence

WssInterop classe

WssInterop - Membres

WebSvcWssInterop - Espace de noms