Metoda ItemById
Wyodrębnia element członkowski z SymmetricKeyCollection kolekcja za pomocą identyfikator unikatowy, zdefiniowanych przez system.
Przestrzeń nazw: Microsoft.SqlServer.Management.Smo
Zestaw: Microsoft.SqlServer.Smo (w Microsoft.SqlServer.Smo.dll)
Syntax
'Deklaracja
Public Function ItemById ( _
id As Integer _
) As SymmetricKey
'Użycie
Dim instance As SymmetricKeyCollection
Dim id As Integer
Dim returnValue As SymmetricKey
returnValue = instance.ItemById(id)
public SymmetricKey ItemById(
int id
)
public:
SymmetricKey^ ItemById(
int id
)
member ItemById :
id:int -> SymmetricKey
public function ItemById(
id : int
) : SymmetricKey
Parameters
- id
Typ: System. . :: . .Int32
Int32 Wartość, która jednoznacznie identyfikuje
SymmetricKey obiekt jest element członkowski z SymmetricKeyCollection kolekcja.
Wartość zwracana
Typ: Microsoft.SqlServer.Management.Smo. . :: . .SymmetricKey
SymmetricKey Obiekt, który ma określoną wartość Identyfikatora.
Zobacz także