Метод SPSite.Exists (Uri)
Returns a Boolean value that indicates whether the specified site collection exists.
Пространство имен: Microsoft.SharePoint
Сборка: Microsoft.SharePoint (в Microsoft.SharePoint.dll)
Синтаксис
'Декларация
Public Shared Function Exists ( _
uri As Uri _
) As Boolean
'Применение
Dim uri As Uri
Dim returnValue As Boolean
returnValue = SPSite.Exists(uri)
public static bool Exists(
Uri uri
)
Параметры
uri
Тип: System.UriA System.Uri object that represents the Uniform Resource Identifier (URI) of the site collection.
Возвращаемое значение
Тип: System.Boolean
true if the site exists; otherwise, false.