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.
The Count property of the SPContentDatabaseCollection class gets the number of content databases in the collection.
Property Value
A 32-bit integer that indicates the number of content databases.
Requirements
Platforms: Microsoft Windows Server 2003
Security: Code Access Security