Share via


Item(Int32) Property

The Item property of the SPContentDatabaseCollection class gets the content database object at the specified index in the collection.

[C#] In C#, this property is an indexer for the SPContentDatabaseCollection class.

Parameters

i   A 32-bit integer that specifies the index of the content database.

Property Value

A Microsoft.SharePoint.Administration.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.

Requirements

Platforms: Microsoft Windows Server 2003

Security: Code Access Security