Status Property

The Status property of the SPContentDatabase class gets or sets the status of the content database.

Property Value

0 if the content database is ready; 1 if the content database is offline.

Requirements

Platforms: Microsoft Windows Server 2003

Security: Code Access Security