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
- name
Tipo: System.String
A String value that specifies the name of the Statistic object in the StatisticCollection collection.
Valor da propriedade
Tipo: Microsoft.SqlServer.Management.Smo.Statistic
A Statistic object value that represents the statistic counter.