Compartilhar via


Propriedade do RDL StatisticCollection.Item (String)

Gets a Statistic object in the collection by name.

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

Sintaxe

'Declaração
Public ReadOnly Default Property Item ( _
    name As String _
) As Statistic 
    Get
'Uso
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 dá suporte ao uso de propriedades indexadas, mas não à declaração de propriedades novas.

Parâmetros

Valor da propriedade

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

Exemplos

Usando coleções

Consulte também

Referência

StatisticCollection Classe

Sobrecarregado Item

Namespace Microsoft.SqlServer.Management.Smo