Item Propiedad (String)
Gets a Statistic object in the collection by name.
Espacio de nombres: Microsoft.SqlServer.Management.Smo
Ensamblado: Microsoft.SqlServer.Smo (en Microsoft.SqlServer.Smo.dll)
Sintaxis
'Declaración
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 admite el uso de propiedades indizadas, pero no la declaración de otras nuevas.
Parámetros
- name
Tipo: System. . :: . .String
A String value that specifies the name of the Statistic object in the StatisticCollection collection.
Valor de la propiedad
Tipo: Microsoft.SqlServer.Management.Smo. . :: . .Statistic
A Statistic object value that represents the statistic counter.