다음을 통해 공유


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

매개 변수

반환 값

유형: Microsoft.SqlServer.Management.Smo.Cpu
A Cpu object with the specified CPU ID.

참고 항목

참조

CpuCollection 클래스

Microsoft.SqlServer.Management.Smo 네임스페이스