共用方式為


CpuCollection.GetElementAt 方法

Gets a Cpu object from the specified position in the collection.

命名空間:  Microsoft.SqlServer.Management.Smo
組件:  Microsoft.SqlServer.Smo (在 Microsoft.SqlServer.Smo.dll 中)

語法

'宣告
Public Function GetElementAt ( _
    position As Integer _
) As Cpu
'用途
Dim instance As CpuCollection 
Dim position As Integer 
Dim returnValue As Cpu 

returnValue = instance.GetElementAt(position)
public Cpu GetElementAt(
    int position
)
public:
Cpu^ GetElementAt(
    int position
)
member GetElementAt : 
        position:int -> Cpu
public function GetElementAt(
    position : int
) : Cpu

參數

  • position
    型別:System.Int32
    A Int32 value specifying the position in the collection.

傳回值

型別:Microsoft.SqlServer.Management.Smo.Cpu
A Cpu object from the specified position in the collection.

請參閱

參考

CpuCollection 類別

Microsoft.SqlServer.Management.Smo 命名空間