StatisticColumn Constructor (Statistic, String)
Initializes a new instance of the StatisticColumn class for the specified statistic counter and with the specified name.
Namespace: Microsoft.SqlServer.Management.Smo
Assembly: Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)
Syntax
'Declaration
Public Sub New ( _
statistic As Statistic, _
name As String _
)
'Usage
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
)
Parameters
- statistic
Type: Microsoft.SqlServer.Management.Smo.Statistic
A Statistic object that specifies the statistic counter on which the statistic column is defined.
- name
Type: System.String
A String value that specifies the name of the column.
Examples
Creating and Updating Statistics