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)
Syntax
'Declaration
Public Property Status As SPObjectStatus
Get
Set
'Usage
Dim instance As SPPersistedObject
Dim value As SPObjectStatus
value = instance.Status
instance.Status = value
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.