SPWebApplication.ContentDatabases Property

Gets a collection of content databases that are available to the Web application.

Namespace:  Microsoft.SharePoint.Administration
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: No


Public ReadOnly Property ContentDatabases As SPContentDatabaseCollection
Dim instance As SPWebApplication
Dim value As SPContentDatabaseCollection

value = instance.ContentDatabases
public SPContentDatabaseCollection ContentDatabases { get; }

Property Value

Type: Microsoft.SharePoint.Administration.SPContentDatabaseCollection
An SPContentDatabaseCollection object that represents the collection of content databases.

See Also


SPWebApplication Class

SPWebApplication Members

Microsoft.SharePoint.Administration Namespace