Поделиться через


Метод GetByID

Gets a Cpu object with the specified CPU ID from the collection.

Пространство имен:  Microsoft.SqlServer.Management.Smo
Сборка:  Microsoft.SqlServer.Smo (в Microsoft.SqlServer.Smo.dll)

Синтаксис

'Декларация
Public Function GetByID ( _
    cpuId As Integer _
) As Cpu
'Применение
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

Параметры

Возвращаемое значение

Тип: Microsoft.SqlServer.Management.Smo. . :: . .Cpu
A Cpu object with the specified CPU ID.