Bagikan melalui


CpuCollection.GetElementAt Method

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

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

Syntax

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

Parameters

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

Return Value

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

See Also

Reference

CpuCollection Class

Microsoft.SqlServer.Management.Smo Namespace