SPPersistedObject.Status property
SharePoint 2013
Gets or sets the status of the object that the class represents.
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
[SubsetCallableExcludeMemberAttribute(SubsetCallableExcludeMemberType.UnsupportedSPType)] public SPObjectStatus Status { get; set; }
Property value
Type: Microsoft.SharePoint.Administration.SPObjectStatusAn 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.