SmoCollectionBase.GetObjectByIndex Method
Extracts a member from the referenced collection using a system-defined, unique identifier.
Namespace: Microsoft.SqlServer.Management.Smo
Assembly: Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)
Syntax
'Declaration
Protected Function GetObjectByIndex ( _
index As Integer _
) As SqlSmoObject
'Usage
Dim index As Integer
Dim returnValue As SqlSmoObject
returnValue = Me.GetObjectByIndex(index)
protected SqlSmoObject GetObjectByIndex(
int index
)
protected:
SqlSmoObject^ GetObjectByIndex(
int index
)
member GetObjectByIndex :
index:int -> SqlSmoObject
protected function GetObjectByIndex(
index : int
) : SqlSmoObject
Parameters
- index
Type: System.Int32
An Int32 value that specifies the index position of the object in the collection.
Return Value
Type: Microsoft.SqlServer.Management.Smo.SqlSmoObject
An Object system object that has the specified index value.
Remarks
This namespace, class, or member is supported only in version 2.0 of the Microsoft .NET Framework.