Udostępnij przez


Metoda IndexedColumnCollection.ItemById

Wyodrębnia element członkowski z IndexedColumnCollection przy użyciu kolekcja identyfikator unikatowy, zdefiniowanych przez system.

Przestrzeń nazw:  Microsoft.SqlServer.Management.Smo
Zestaw:  Microsoft.SqlServer.Smo (w Microsoft.SqlServer.Smo.dll)

Składnia

'Deklaracja
Public Function ItemById ( _
    id As Integer _
) As IndexedColumn
'Użycie
Dim instance As IndexedColumnCollection
Dim id As Integer
Dim returnValue As IndexedColumn

returnValue = instance.ItemById(id)
public IndexedColumn ItemById(
    int id
)
public:
IndexedColumn^ ItemById(
    int id
)
member ItemById : 
        id:int -> IndexedColumn 
public function ItemById(
    id : int
) : IndexedColumn

Parametry

Wartość zwracana

Typ: Microsoft.SqlServer.Management.Smo.IndexedColumn
IndexedColumn Obiekt, który ma określoną wartość Identyfikatora.