Condividi tramite


Proprietà StatisticCollection.Item (String)

Gets a Statistic object in the collection by name.

Spazio dei nomi  Microsoft.SqlServer.Management.Smo
Assembly:  Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)

Sintassi

'Dichiarazione
Public ReadOnly Default Property Item ( _
    name As String _
) As Statistic 
    Get
'Utilizzo
Dim instance As StatisticCollection 
Dim name As String 
Dim value As Statistic 

value = instance(name)
public Statistic this[
    string name
] { get; }
public:
property Statistic^ default[String^ name] {
    Statistic^ get (String^ name);
}
member Item : Statistic
JScript supporta l'utilizzo di proprietà indicizzate, ma non la dichiarazione di nuove proprietà.

Parametri

Valore proprietà

Tipo: Microsoft.SqlServer.Management.Smo.Statistic
A Statistic object value that represents the statistic counter.

Esempi

Utilizzo delle raccolte

Vedere anche

Riferimento

StatisticCollection Classe

Overload Item

Spazio dei nomi Microsoft.SqlServer.Management.Smo