SPSite.Exists - Méthode (Uri)
Returns a Boolean value that indicates whether the specified site collection exists.
Espace de noms : Microsoft.SharePoint
Assembly : Microsoft.SharePoint (dans Microsoft.SharePoint.dll)
Syntaxe
'Déclaration
Public Shared Function Exists ( _
uri As Uri _
) As Boolean
'Utilisation
Dim uri As Uri
Dim returnValue As Boolean
returnValue = SPSite.Exists(uri)
public static bool Exists(
Uri uri
)
Paramètres
uri
Type : System.UriA System.Uri object that represents the Uniform Resource Identifier (URI) of the site collection.
Valeur renvoyée
Type : System.Boolean
true if the site exists; otherwise, false.