Share via


CpuCollection.GetByID-Methode

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

Namespace:  Microsoft.SqlServer.Management.Smo
Assembly:  Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)

Syntax

'Declaration
Public Function GetByID ( _
    cpuId As Integer _
) As Cpu
'Usage
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

Parameter

Rückgabewert

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

Siehe auch

Verweis

CpuCollection Klasse

Microsoft.SqlServer.Management.Smo-Namespace