Statistic.SetScanOptions メソッド

統計カウンターのスキャン オプションを設定します。

名前空間:  Microsoft.SqlServer.Management.Smo
アセンブリ:  Microsoft.SqlServer.Smo (Microsoft.SqlServer.Smo.dll)

構文

'宣言
Public Sub SetScanOptions ( _
    type As StatisticsScanType, _
    no As Integer _
)
'使用
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
)

パラメーター

使用例

統計の作成と更新

関連項目

参照

Statistic クラス

Microsoft.SqlServer.Management.Smo 名前空間

その他の技術情報

CREATE STATISTICS (Transact-SQL)