共用方式為


Index.UpdateStatistics 方法

包含保護的成員
包含繼承的成員

Updates the statistics for the referenced index.

此成員已超載。如需此成員完整的詳細資訊 (包括語法、使用狀況及範例),按一下多載清單中的名稱。

多載 清單

  名稱 說明
公用方法 UpdateStatistics() Updates statistics for the referenced index.
公用方法 UpdateStatistics(StatisticsScanType) Updates statistics for the referenced index with the specified statistics scan type.
公用方法 UpdateStatistics(StatisticsScanType, Int32) Updates statistics for the referenced index with the specified statistics scan type and specified sample size.
公用方法 UpdateStatistics(StatisticsScanType, Int32, Boolean) Updates statistics for the referenced index with the specified statistics scan type and specified sample size and with the option to recompute the statistics.

上層

請參閱

參考

Index 類別

Microsoft.SqlServer.Management.Smo 命名空間