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