共用方式為


StatisticsTarget Enumeration

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

命名空間: Microsoft.SqlServer.Management.Smo
組件: Microsoft.SqlServer.Smo (in microsoft.sqlserver.smo.dll)

語法

'宣告
Public Enumeration StatisticsTarget
public enum StatisticsTarget
public enum class StatisticsTarget
public enum 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.

備註

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.

平台

開發平台

如需受支援的平台清單,請參閱<安裝 SQL Server 2005 的硬體和軟體需求>。

目標平台

如需受支援的平台清單,請參閱<安裝 SQL Server 2005 的硬體和軟體需求>。

請參閱

參考

Microsoft.SqlServer.Management.Smo Namespace