Freigeben über


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
)

Parameter

  • 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.

Hinweise

Der Namespace, die Klasse oder das Element wird nur in der Version 2.0 von Microsoft .NET Framework unterstützt.

Beispiel

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

Plattformen

Entwicklungsplattformen

Eine Liste der unterstützten Plattformen finden Sie unterHardware- und Softwareanforderungen für die Installation von SQL Server 2005.

Zielplattforme

Eine Liste der unterstützten Plattformen finden Sie unterHardware- und Softwareanforderungen für die Installation von SQL Server 2005.

Siehe auch

Verweis

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

Andere Ressourcen

Creating and Updating Statistics