Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Gets the content database that is associated with the site collection.
Namespace: Microsoft.SharePoint
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: No
Syntax
'Declaration
<SubsetCallableExcludeMemberAttribute(SubsetCallableExcludeMemberType.UnsupportedSPType)> _
Public ReadOnly Property ContentDatabase As SPContentDatabase
Get
'Usage
Dim instance As SPSite
Dim value As SPContentDatabase
value = instance.ContentDatabase
[SubsetCallableExcludeMemberAttribute(SubsetCallableExcludeMemberType.UnsupportedSPType)]
public SPContentDatabase ContentDatabase { get; }
Property Value
Type: Microsoft.SharePoint.Administration.SPContentDatabase
An SPContentDatabase object that represents the content database.