Compartir a través de


GetByID Método

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

Espacio de nombres:  Microsoft.SqlServer.Management.Smo
Ensamblado:  Microsoft.SqlServer.Smo (en Microsoft.SqlServer.Smo.dll)

Sintaxis

'Declaración
Public Function GetByID ( _
    cpuId As Integer _
) As Cpu
'Uso
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

Parámetros

Valor devuelto

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