Metoda CpuCollection.GetByID
Pobiera Cpu obiekt z określonym Identyfikatorem Procesora z kolekcja.
Przestrzeń nazw: Microsoft.SqlServer.Management.Smo
Zestaw: Microsoft.SqlServer.Smo (w Microsoft.SqlServer.Smo.dll)
Składnia
'Deklaracja
Public Function GetByID ( _
cpuId As Integer _
) As Cpu
'Użycie
Dim instance As CpuCollection
Dim cpuId As Integer
Dim returnValue As Cpu
returnValue = instance.GetByID(cpuId)
public Cpu GetByID(
int cpuId
)
public:
Cpu^ GetByID(
int cpuId
)
member GetByID :
cpuId:int -> Cpu
public function GetByID(
cpuId : int
) : Cpu
Parametry
- cpuId
Typ: System.Int32
A Int32 wartość określającą identyfikator Procesora do pobrania.
Wartość zwracana
Typ: Microsoft.SqlServer.Management.Smo.Cpu
A Cpu obiekt o określonym identyfikatorze Procesora.