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 object at the specified index in the collection.
Namespace: Microsoft.SharePoint.Administration
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Syntax
'Declaration
Public ReadOnly Property Item ( _
i As Integer _
) As SPContentDatabase
Get
'Usage
Dim instance As SPContentDatabaseCollection
Dim i As Integer
Dim value As SPContentDatabase
value = instance.Item(i)
public SPContentDatabase this[
int i
] { get; }
Parameters
i
Type: System.Int32A 32-bit integer that specifies the index of the content database.
Property value
Type: Microsoft.SharePoint.Administration.SPContentDatabase
A SPContentDatabase object that represents the content database.
Remarks
The Item property throws an IndexOutOfRangeException if the specified index is outside the valid range of indices for the collection.
In C#, this property is an indexer for the SPContentDatabaseCollection class.
See also
Reference
SPContentDatabaseCollection class