Statistic.SetScanOptions Method
Sets the scan options for the statistic counter.
Spazio dei nomi: Microsoft.SqlServer.Management.Smo
Assembly : Microsoft.SqlServer.Smo (in microsoft.sqlserver.smo.dll)
Sintassi
'Dichiarazione
Public Sub SetScanOptions ( _
type As StatisticsScanType, _
no As Integer _
)
public void SetScanOptions (
StatisticsScanType type,
int no
)
public:
void SetScanOptions (
StatisticsScanType type,
int no
)
public void SetScanOptions (
StatisticsScanType type,
int no
)
public function SetScanOptions (
type : StatisticsScanType,
no : int
)
Parametri
- type
A StatisticsScanType object that specifies the type of statistic scan to perform.
- no
An Int32 value that specifies the size of the sample value.
Osservazioni
Questo spazio dei nomi, classe o membro è supportato solo nella versione 2.0 di Microsoft .NET Framework.
Esempio
How to: Create and Update Statistics in Visual Basic .NET
Thread Safety
Any public static (Shared in Microsoft Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Piattaforme
Piattaforme di sviluppo
Per un elenco delle piattaforme supportate, vedere Requisiti hardware e software per l'Installazione di SQL Server 2005.
Piattaforme di destinazione
Per un elenco delle piattaforme supportate, vedere Requisiti hardware e software per l'Installazione di SQL Server 2005.
Vedere anche
Riferimento
Statistic Class
Statistic Members
Microsoft.SqlServer.Management.Smo Namespace
Altre risorse
Creating and Updating Statistics
CREATE STATISTICS (Transact-SQL)