TechNet
Expand All
Collapse the table of content
Expand the table of content
Expand Minimize
The document is archived and information here might be outdated

StatisticsTarget Enumeration

The StatisticsTarget enumeration contains values that specify the type of statistic targeted for the update operation.

Namespace: Microsoft.SqlServer.Management.Smo
Assembly: Microsoft.SqlServer.Smo (in microsoft.sqlserver.smo.dll)

public enum StatisticsTarget
public enum StatisticsTarget
public enum 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.

This namespace, class, or member is supported only in version 2.0 of the Microsoft .NET Framework.


Development Platforms

For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server 2005.

Target Platforms

Show:
© 2016 Microsoft