StatisticColumn Constructor (Statistic, String)
Initializes a new instance of the StatisticColumn class for the specified statistic counter and with the specified name.
Espacio de nombres: Microsoft.SqlServer.Management.Smo
Ensamblado: Microsoft.SqlServer.Smo (en Microsoft.SqlServer.Smo.dll)
Sintaxis
'Declaración
Public Sub New ( _
statistic As Statistic, _
name As String _
)
'Uso
Dim statistic As Statistic
Dim name As String
Dim instance As New StatisticColumn(statistic, _
name)
public StatisticColumn(
Statistic statistic,
string name
)
public:
StatisticColumn(
Statistic^ statistic,
String^ name
)
new :
statistic:Statistic *
name:string -> StatisticColumn
public function StatisticColumn(
statistic : Statistic,
name : String
)
Parámetros
- statistic
Tipo: Microsoft.SqlServer.Management.Smo.Statistic
A Statistic object that specifies the statistic counter on which the statistic column is defined.
- name
Tipo: System.String
A String value that specifies the name of the column.
Ejemplos
Crear y actualizar estadísticas