SPDatabaseServiceInstance.Databases property

Gets the collection of databases that are used in the database service instance.

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

public SPDatabaseCollection Databases { get; }

Property value

Type: Microsoft.SharePoint.Administration.SPDatabaseCollection
An SPDatabaseCollection object that represents the databases.
Show: