Updates the statistics for the referenced index.
备注
仅 Microsoft .NET Framework 的 2.0 版本支持此命名空间、类或成员。
重载列表
| 名称 | Description | 
|---|---|
| Index.UpdateStatistics () | 
Updates statistics for the referenced index.
 | 
| Index.UpdateStatistics (StatisticsScanType) | 
Updates statistics for the referenced index with the specified statistics scan type.
 | 
| Index.UpdateStatistics (StatisticsScanType, Int32) | 
Updates statistics for the referenced index with the specified statistics scan type and specified sample size.
 | 
| Index.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 Class
Index Members
Microsoft.SqlServer.Management.Smo Namespace
其他资源
Creating, Altering, and Removing Indexes
索引
UPDATE STATISTICS (Transact-SQL)