This documentation is archived and is not being maintained.

SPSite.ContentDatabase Property

Windows SharePoint Services 3

Gets the content database that is associated with the site collection.

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

public SPContentDatabase ContentDatabase { get; }

Property Value

Type: Microsoft.SharePoint.Administration.SPContentDatabase
An SPContentDatabase object that represents the content database.
Show: