Partager via


SPObjectStatus Enumeration

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

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

Syntax

Public Enumeration SPObjectStatus

Dim instance As SPObjectStatus
public enum SPObjectStatus

Members

Member name Description
Online Specifies 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.
Disabled Specifies 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.
Offline Specifies that the component is offline for some unknown reason. New sites cannot be created in content databases, but old sites can be accessed.
Unprovisioning Specifies 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.
Provisioning Specifies that the administrator has issued the command to provision the service and put it online, but the provisioning job has not completed yet.
Upgrading Specifies that the administrator has issued the command to upgrade the service and put it online, but the upgrade job has not completed yet.

See Also

Reference

Microsoft.SharePoint.Administration Namespace