Metodo SmoCollectionBase.GetObjectByIndex

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

Spazio dei nomi  Microsoft.SqlServer.Management.Smo
Assembly:  Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)

Sintassi

'Dichiarazione
Protected Function GetObjectByIndex ( _
    index As Integer _
) As SqlSmoObject
'Utilizzo
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

Parametri

  • index
    Tipo: System.Int32
    An Int32 value that specifies the index position of the object in the collection.

Valore restituito

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

Osservazioni

Questo spazio dei nomi, classe o membro è supportato solo nella versione 2.0 di Microsoft .NET Framework.

Esempi

Utilizzo delle raccolte

Vedere anche

Riferimento

SmoCollectionBase Classe

Spazio dei nomi Microsoft.SqlServer.Management.Smo