Compartilhar via


Método GetObjectByIndex

Extracts a member from the referenced collection using a system-defined, unique identifier.

Namespace:  Microsoft.SqlServer.Management.Smo
Assembly:  Microsoft.SqlServer.Smo (em Microsoft.SqlServer.Smo.dll)

Sintaxe

'Declaração
Protected Function GetObjectByIndex ( _
    index As Integer _
) As SqlSmoObject
'Uso
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

Parâmetros

Valor de retorno

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

Comentários

Só há suporte para esse namespace, classe ou membro na versão 2.0 do Microsoft .NET Framework.