SPPersistedObject.Status Property

Gets or sets the status of the object that the class represents.

Namespace:  Microsoft.SharePoint.Administration
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: No

public SPObjectStatus Status { get; set; }

Property Value

Type: Microsoft.SharePoint.Administration.SPObjectStatus
An SPObjectStatus value that specifies the object status. In the context of an SPContentDatabase object, the Online and Disabled values correspond respectively to the Ready and Offline values that can be selected through the Database status box on the Manage Content Database Settings page in SharePoint Central Administration.