Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
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
Syntax
'Declaration
<SubsetCallableExcludeMemberAttribute(SubsetCallableExcludeMemberType.UnsupportedSPType)> _
Public Property Status As SPObjectStatus
Get
Set
'Usage
Dim instance As SPPersistedObject
Dim value As SPObjectStatus
value = instance.Status
instance.Status = value
[SubsetCallableExcludeMemberAttribute(SubsetCallableExcludeMemberType.UnsupportedSPType)]
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.