共用方式為


StatisticsTarget 列舉

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

命名空間:  Microsoft.SqlServer.Management.Smo
組件:  Microsoft.SqlServer.Smo (在 Microsoft.SqlServer.Smo.dll 中)

語法

'宣告
Public Enumeration StatisticsTarget
'用途
Dim instance As StatisticsTarget
public enum StatisticsTarget
public enum class StatisticsTarget
type StatisticsTarget
public enum StatisticsTarget

成員

成員名稱 說明
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.

請參閱

參考

Microsoft.SqlServer.Management.Smo 命名空間