SPDatabase.IsEmpty method
會決定是否空白資料庫。
Namespace: Microsoft.SharePoint.Administration
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Syntax
'宣告
Public Function IsEmpty As Boolean
'用途
Dim instance As SPDatabase
Dim returnValue As Boolean
returnValue = instance.IsEmpty()
public bool IsEmpty()
傳回值
Type: System.Boolean
會傳回true如果資料庫是空的。否則,會傳回false。