Share via


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

Examples

Creating and Updating Statistics

See Also

Reference

StatisticColumn Class

StatisticColumn Overload

Microsoft.SqlServer.Management.Smo Namespace