Bagikan melalui


CpuCollection.Item Property

Gets a Cpu object from the collection.

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

Syntax

'Declaration
Public ReadOnly Default Property Item ( _
    index As Integer _
) As Cpu 
    Get
'Usage
Dim instance As CpuCollection 
Dim index As Integer 
Dim value As Cpu 

value = instance(index)
public Cpu this[
    int index
] { get; }
public:
property Cpu^ default[int index] {
    Cpu^ get (int index);
}
member Item : Cpu
JScript supports the use of indexed properties, but not the declaration of new ones.

Parameters

  • index
    Type: System.Int32
    An Int32 value that specifies the index value in the collection to get.

Property Value

Type: Microsoft.SqlServer.Management.Smo.Cpu
Returns a T[:Microsoft.SqlServer.Management.Smo.Cpu] object.

See Also

Reference

CpuCollection Class

Microsoft.SqlServer.Management.Smo Namespace