Statistic.SetScanOptions Método
Sets the scan options for the statistic counter.
Espacio de nombres: Microsoft.SqlServer.Management.Smo
Ensamblado: Microsoft.SqlServer.Smo (en Microsoft.SqlServer.Smo.dll)
Sintaxis
'Declaración
Public Sub SetScanOptions ( _
type As StatisticsScanType, _
no As Integer _
)
'Uso
Dim instance As Statistic
Dim type As StatisticsScanType
Dim no As Integer
instance.SetScanOptions(type, no)
public void SetScanOptions(
StatisticsScanType type,
int no
)
public:
void SetScanOptions(
StatisticsScanType type,
int no
)
member SetScanOptions :
type:StatisticsScanType *
no:int -> unit
public function SetScanOptions(
type : StatisticsScanType,
no : int
)
Parámetros
- type
Tipo: Microsoft.SqlServer.Management.Smo.StatisticsScanType
A StatisticsScanType object that specifies the type of statistic scan to perform.
- no
Tipo: System.Int32
An Int32 value that specifies the size of the sample value.
Ejemplos
Crear y actualizar estadísticas
Vea también
Referencia
Espacio de nombres Microsoft.SqlServer.Management.Smo