CpuCollection.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
パラメーター
- cpuId
型: System.Int32
取得する CPU の ID を指定する Int32 値です。
戻り値
型: Microsoft.SqlServer.Management.Smo.Cpu
指定した CPU ID の Cpu オブジェクトです。