GetByID メソッド

指定した CPU ID の Cpu オブジェクトをコレクションから取得します。

名前空間:  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
指定した CPU ID の Cpu オブジェクトです。