Count Property
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