TableViewBase.UpdateStatistics TableViewBase.UpdateStatistics TableViewBase.UpdateStatistics Method

Definition

Overloads

UpdateStatistics() UpdateStatistics() UpdateStatistics()

forces data distribution statistics update for a referenced index or all indexes defined on a SQL Server table.

UpdateStatistics(StatisticsTarget, StatisticsScanType) UpdateStatistics(StatisticsTarget, StatisticsScanType) UpdateStatistics(StatisticsTarget, StatisticsScanType)

forces data distribution statistics update for a referenced index or all indexes defined on a SQL Server table.

UpdateStatistics(StatisticsTarget, StatisticsScanType, Int32) UpdateStatistics(StatisticsTarget, StatisticsScanType, Int32) UpdateStatistics(StatisticsTarget, StatisticsScanType, Int32)

forces data distribution statistics update for a referenced index or all indexes defined on a SQL Server table.

UpdateStatistics(StatisticsTarget, StatisticsScanType, Int32, Boolean) UpdateStatistics(StatisticsTarget, StatisticsScanType, Int32, Boolean) UpdateStatistics(StatisticsTarget, StatisticsScanType, Int32, Boolean)

forces data distribution statistics update for a referenced index or all indexes defined on a SQL Server table.

UpdateStatistics() UpdateStatistics() UpdateStatistics()

forces data distribution statistics update for a referenced index or all indexes defined on a SQL Server table.

public void UpdateStatistics ();
member this.UpdateStatistics : unit -> unit
Public Sub UpdateStatistics ()

UpdateStatistics(StatisticsTarget, StatisticsScanType) UpdateStatistics(StatisticsTarget, StatisticsScanType) UpdateStatistics(StatisticsTarget, StatisticsScanType)

forces data distribution statistics update for a referenced index or all indexes defined on a SQL Server table.

public void UpdateStatistics (Microsoft.SqlServer.Management.Smo.StatisticsTarget affectType, Microsoft.SqlServer.Management.Smo.StatisticsScanType scanType);
member this.UpdateStatistics : Microsoft.SqlServer.Management.Smo.StatisticsTarget * Microsoft.SqlServer.Management.Smo.StatisticsScanType -> unit
Public Sub UpdateStatistics (affectType As StatisticsTarget, scanType As StatisticsScanType)

Parameters

UpdateStatistics(StatisticsTarget, StatisticsScanType, Int32) UpdateStatistics(StatisticsTarget, StatisticsScanType, Int32) UpdateStatistics(StatisticsTarget, StatisticsScanType, Int32)

forces data distribution statistics update for a referenced index or all indexes defined on a SQL Server table.

public void UpdateStatistics (Microsoft.SqlServer.Management.Smo.StatisticsTarget affectType, Microsoft.SqlServer.Management.Smo.StatisticsScanType scanType, int sampleValue);
member this.UpdateStatistics : Microsoft.SqlServer.Management.Smo.StatisticsTarget * Microsoft.SqlServer.Management.Smo.StatisticsScanType * int -> unit
Public Sub UpdateStatistics (affectType As StatisticsTarget, scanType As StatisticsScanType, sampleValue As Integer)

Parameters

sampleValue
Int32 Int32 Int32

UpdateStatistics(StatisticsTarget, StatisticsScanType, Int32, Boolean) UpdateStatistics(StatisticsTarget, StatisticsScanType, Int32, Boolean) UpdateStatistics(StatisticsTarget, StatisticsScanType, Int32, Boolean)

forces data distribution statistics update for a referenced index or all indexes defined on a SQL Server table.

public void UpdateStatistics (Microsoft.SqlServer.Management.Smo.StatisticsTarget affectType, Microsoft.SqlServer.Management.Smo.StatisticsScanType scanType, int sampleValue, bool recompute);
member this.UpdateStatistics : Microsoft.SqlServer.Management.Smo.StatisticsTarget * Microsoft.SqlServer.Management.Smo.StatisticsScanType * int * bool -> unit
Public Sub UpdateStatistics (affectType As StatisticsTarget, scanType As StatisticsScanType, sampleValue As Integer, recompute As Boolean)

Parameters

sampleValue
Int32 Int32 Int32
recompute
Boolean Boolean Boolean

Applies to