Export (0) Print
Expand All

StatisticsTarget Enumeration

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)

'Declaration
Public Enumeration StatisticsTarget
'Usage
Dim instance As StatisticsTarget

Member nameDescription
AllValue = 3. Statistical information is collected for columns and indexes. This option is the default.
ColumnValue = 1. Statistical information is collected for columns only.
IndexValue = 2. Statistical information is collected for indexes only.

The StatisticsTarget enumeration class is served by the UpdateStatistics method.

Was this page helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

Show:
© 2015 Microsoft