Share via


Propriété 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

Valeur de propriété

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