Metoda SqlAssemblyFileCollection.ItemById
Wyodrębnia element członkowski z SqlAssemblyFileCollection 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 SqlAssemblyFile
'Użycie
Dim instance As SqlAssemblyFileCollection
Dim id As Integer
Dim returnValue As SqlAssemblyFile
returnValue = instance.ItemById(id)
public SqlAssemblyFile ItemById(
int id
)
public:
SqlAssemblyFile^ ItemById(
int id
)
member ItemById :
id:int -> SqlAssemblyFile
public function ItemById(
id : int
) : SqlAssemblyFile
Parametry
- id
Typ: System.Int32
Int32 Wartość, która jednoznacznie identyfikuje SqlAssemblyFile obiektu jest element członkowski z SqlAssemblyFileCollection kolekcja.
Wartość zwracana
Typ: Microsoft.SqlServer.Management.Smo.SqlAssemblyFile
A SqlAssemblyFile obiekt, który ma określoną wartość Identyfikatora.
Zobacz także