|Important||This document may not represent best practices for current development, links to downloads and other resources may no longer be valid. Current recommended version can be found here. ArchiveDisclaimer|
Represents a collection of SPDatabase objects.
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
To add a database to the collection, use the Add method.
Use an indexer to return a single database from the collection. For example, if the collection is assigned to a variable named myDatabases, use myDatabases[index] in C#, or myDatabases(index) in Visual Basic, where index is either the name or the GUID identifying the database.