Condividi tramite


StatisticColumn Constructor (Statistic, String)

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

Spazio dei nomi: Microsoft.SqlServer.Management.Smo
Assembly : Microsoft.SqlServer.Smo (in microsoft.sqlserver.smo.dll)

Sintassi

'Dichiarazione
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
)

Parametri

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

Osservazioni

Questo spazio dei nomi, classe o membro è supportato solo nella versione 2.0 di Microsoft .NET Framework.

Esempio

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

Piattaforme

Piattaforme di sviluppo

Per un elenco delle piattaforme supportate, vedere Requisiti hardware e software per l'Installazione di SQL Server 2005.

Piattaforme di destinazione

Per un elenco delle piattaforme supportate, vedere Requisiti hardware e software per l'Installazione di SQL Server 2005.

Vedere anche

Riferimento

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

Altre risorse

Creating and Updating Statistics