Partager via


Propriété CpuCollection.Item

Gets a Cpu object from the collection.

Espace de noms :  Microsoft.SqlServer.Management.Smo
Assembly :  Microsoft.SqlServer.Smo (en Microsoft.SqlServer.Smo.dll)

Syntaxe

'Déclaration
Public ReadOnly Default Property Item ( _
    index As Integer _
) As Cpu 
    Get
'Utilisation
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 prend en charge l'utilisation de propriétés indexées, mais pas la déclaration de nouvelles propriétés.

Paramètres

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

Valeur de propriété

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

Voir aussi

Référence

CpuCollection Classe

Espace de noms Microsoft.SqlServer.Management.Smo