SPDatabase.Exists property
取得 Boolean 值,指出資料庫是否存在。
Namespace: Microsoft.SharePoint.Administration
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Syntax
'宣告
Public ReadOnly Property Exists As Boolean
Get
'用途
Dim instance As SPDatabase
Dim value As Boolean
value = instance.Exists
public bool Exists { get; }
Property value
Type: System.Boolean
true資料庫存在 ; 如果否則,請false。