Statistic.SetScanOptions Method (StatisticsScanType, Int32)

 

Sets the scan options for the statistic counter.

Namespace:   Microsoft.SqlServer.Management.Smo
Assembly:  Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)

public void SetScanOptions(
	StatisticsScanType type,
	int no
)

Parameters

type
Type: Microsoft.SqlServer.Management.Smo.StatisticsScanType

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

no
Type: System.Int32

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

Return to top
Show: