SPObjectStatus enumeration
TOC
Collapse the table of content
Expand the table of content

SPObjectStatus enumeration

Specifies the status of a service that runs within a SharePoint Foundation deployment.

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

public enum SPObjectStatus

Member nameDescription
OnlineSpecifies that the service is provisioned and running as expected. New sites can be created in content databases up to their maximum site collection limits. This value corresponds to the Ready value that can be selected through the Database status box on the Manage Content Database Settings page in SharePoint Central Administration.
DisabledSpecifies that the components that are necessary to run the service are installed on the computer, but an administrator needs to provision the service and put it online. New sites cannot be created in content databases, even though the databases have not reached their maximum site collection limits. This value corresponds to the Offline value that can be selected through the Database status box on the Manage Content Database Settings page in SharePoint Central Administration.
OfflineSpecifies that the component is offline for some unknown reason. New sites cannot be created in content databases, but old sites can be accessed.
UnprovisioningSpecifies that the administrator has issued the command to unprovision the service and leave it in a disabled state, but the unprovisioning job has not completed yet.
ProvisioningSpecifies that the administrator has issued the command to provision the service and put it online, but the provisioning job has not completed yet.
UpgradingSpecifies that the administrator has issued the command to upgrade the service and put it online, but the upgrade job has not completed yet.
Patching
Show:
© 2016 Microsoft