Kommentar
Åtkomst till den här sidan kräver auktorisering. Du kan prova att logga in eller ändra kataloger.
Åtkomst till den här sidan kräver auktorisering. Du kan prova att ändra kataloger.
The StatisticsTarget enumeration contains values that specify the type of statistic that is targeted for the update operation.
Namespace: Microsoft.SqlServer.Management.Smo
Assembly: Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)
Syntax
'Declaration
Public Enumeration StatisticsTarget
'Usage
Dim instance As StatisticsTarget
public enum StatisticsTarget
public enum class StatisticsTarget
type StatisticsTarget
public enum StatisticsTarget
Members
| Member name | Description | |
|---|---|---|
| All | Value = 3. Statistical information is collected for columns and indexes. This option is the default. | |
| Column | Value = 1. Statistical information is collected for columns only. | |
| Index | Value = 2. Statistical information is collected for indexes only. |
Remarks
The StatisticsTarget enumeration class is served by the UpdateStatistics method.