Share via


GetObjectByIndex-Methode

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

Parameter

Rückgabewert

Typ: Microsoft.SqlServer.Management.Smo. . :: . .SqlSmoObject
An Object system object that has the specified index value.

Hinweise

Der Namespace, die Klasse oder das Element wird nur in der Version 2.0 von Microsoft .NET Framework unterstützt.