CpuCollection.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
参数
- cpuId
类型:System.Int32
A Int32 value specifying the ID of the CPU to retrieve.
返回值
类型:Microsoft.SqlServer.Management.Smo.Cpu
A Cpu object with the specified CPU ID.