Hinweis
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, sich anzumelden oder das Verzeichnis zu wechseln.
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, das Verzeichnis zu wechseln.
Sets the scan options for the statistic counter.
Namespace: Microsoft.SqlServer.Management.Smo
Assembly: Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)
Syntax
'Declaration
Public Sub SetScanOptions ( _
type As StatisticsScanType, _
no As Integer _
)
'Usage
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
)
Parameter
- type
Typ: Microsoft.SqlServer.Management.Smo.StatisticsScanType
A StatisticsScanType object that specifies the type of statistic scan to perform.
- no
Typ: System.Int32
An Int32 value that specifies the size of the sample value.
Beispiele
Erstellen und Aktualisieren von Statistiken
Siehe auch
Verweis
Microsoft.SqlServer.Management.Smo-Namespace