Share via


SPDatabase.IsEmpty method

Determines if the database is empty.

Namespace:  Microsoft.SharePoint.Administration
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)

Syntax

public bool IsEmpty()

Return value

Type: System.Boolean
Returns true if the database is empty; otherwise, returns false.

See also

Reference

SPDatabase class

SPDatabase members

Microsoft.SharePoint.Administration namespace