Share via


Index.UpdateStatistics Method

Updates the statistics for the referenced index.

Remarks

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

Overload List

Name 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.

See Also

Reference

Index Class
Index Members
Microsoft.SqlServer.Management.Smo Namespace

Other Resources

Creating, Altering, and Removing Indexes
Indexes
UPDATE STATISTICS (Transact-SQL)