Partager via


StatisticColumn Constructor (Statistic, String)

Initializes a new instance of the StatisticColumn class for the specified statistic counter and with the specified name.

Espace de noms: Microsoft.SqlServer.Management.Smo
Assembly: Microsoft.SqlServer.Smo (in microsoft.sqlserver.smo.dll)

Syntaxe

'Déclaration
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
)

Paramètres

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

Notes

Cet espace de noms, cette classe ou ce membre est pris en charge uniquement par la version 2.0 de Microsoft .NET Framework.

Exemple

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

Plateformes

Plateformes de développement

Pour obtenir la liste des plateformes prises en charge, consultez Configuration matérielle et logicielle requise pour l'installation de SQL Server 2005.

Plateformes cibles

Pour obtenir la liste des plateformes prises en charge, consultez Configuration matérielle et logicielle requise pour l'installation de SQL Server 2005.

Voir aussi

Référence

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

Autres ressources

Creating and Updating Statistics