Partilhar 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 _
)
public StatisticColumn (
    Statistic statistic,
    string name
)
public:
StatisticColumn (
    Statistic^ statistic, 
    String^ name
)
public StatisticColumn (
    Statistic statistic, 
    String name
)
public function StatisticColumn (
    statistic : Statistic, 
    name : String
)

Parameters

  • statistic
    A Statistic object that specifies the statistic counter on which the statistic column is defined.
  • name
    A String value that specifies the name of the column.

Remarks

This namespace, class, or member is supported only in version 2.0 of the Microsoft .NET Framework.

Example

How to: Create and Update Statistics in Visual Basic .NET

Platforms

Development Platforms

For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server 2005.

Target Platforms

For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server 2005.

See Also

Reference

StatisticColumn Class
StatisticColumn Members
Microsoft.SqlServer.Management.Smo Namespace

Other Resources

Creating and Updating Statistics