DatabaseEngineInstanceCollection.Item Property (Int32)
Gets a DatabaseEngineInstance object in the collection by index number.
Namespace: Microsoft.SqlServer.Management.Smo
Assembly: Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)
Syntax
public DatabaseEngineInstance this[
int index
] { get; }
public:
property DatabaseEngineInstance^ default[
int index
] {
DatabaseEngineInstance^ get(int index);
}
member Item :
index:int -> DatabaseEngineInstance with get
Public ReadOnly Property Item (
index As Integer
) As DatabaseEngineInstance
Parameters
index
Type: System.Int32An Int32 value that specifies the position of the DatabaseEngineInstance object in the DatabaseEngineInstanceCollection collection.
Property Value
Type: Microsoft.SqlServer.Management.Smo.DatabaseEngineInstance
A DatabaseEngineInstance object value that represents the database instance constraint.
Examples
See Also
Item Overload
DatabaseEngineInstanceCollection Class
Microsoft.SqlServer.Management.Smo Namespace
Return to top