Share via


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)

Syntax

'Declaration
Public ReadOnly Property ContentDatabases As SPContentDatabaseCollection
    Get
'Usage
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

Reference

SPWebApplication class

SPWebApplication members

Microsoft.SharePoint.Administration namespace