Statistic.SetScanOptions(StatisticsScanType, Int32) Statistic.SetScanOptions(StatisticsScanType, Int32) Statistic.SetScanOptions(StatisticsScanType, Int32) Method

Definition

Sets the scan options for the statistic counter.

public:
 void SetScanOptions(Microsoft::SqlServer::Management::Smo::StatisticsScanType type, int no);
public void SetScanOptions (Microsoft.SqlServer.Management.Smo.StatisticsScanType type, int no);
Public Sub SetScanOptions (type As StatisticsScanType, no As Integer)
Parameters
type
StatisticsScanType StatisticsScanType StatisticsScanType

A StatisticsScanType object that specifies the type of statistic scan to perform.

no
Int32 Int32 Int32

An Int32 value that specifies the size of the sample value.

Examples

Creating and Updating Statistics

Applies to