Udostępnij przez


Metoda EndpointCollection.ItemById

Wyodrębnia element członkowski z EndpointCollection 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 Endpoint
'Użycie
Dim instance As EndpointCollection
Dim id As Integer
Dim returnValue As Endpoint

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

Parametry

Wartość zwracana

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