UpdateStatistics メソッド (StatisticsScanType, Int32, Boolean)
サンプリングされたスキャンを使用してこの列を監視する Statistic オブジェクトを更新します。
名前空間: Microsoft.SqlServer.Management.Smo
アセンブリ: Microsoft.SqlServer.Smo (Microsoft.SqlServer.Smo.dll)
構文
'宣言
Public Sub UpdateStatistics ( _
scanType As StatisticsScanType, _
sampleValue As Integer, _
recompute As Boolean _
)
'使用
Dim instance As Column
Dim scanType As StatisticsScanType
Dim sampleValue As Integer
Dim recompute As Boolean
instance.UpdateStatistics(scanType, sampleValue, _
recompute)
public void UpdateStatistics(
StatisticsScanType scanType,
int sampleValue,
bool recompute
)
public:
void UpdateStatistics(
StatisticsScanType scanType,
int sampleValue,
bool recompute
)
member UpdateStatistics :
scanType:StatisticsScanType *
sampleValue:int *
recompute:bool -> unit
public function UpdateStatistics(
scanType : StatisticsScanType,
sampleValue : int,
recompute : boolean
)
パラメーター
- scanType
型: Microsoft.SqlServer.Management.Smo. . :: . .StatisticsScanType
Statistic オブジェクトの作成中または更新中に実行する操作の種類を示す StatisticsScanType オブジェクトの値です。
- sampleValue
型: System. . :: . .Int32
サンプリングされたスキャンで使用する行数または行の合計数の割合を示す Int32 値です。このパラメータは、scanType がサンプリングされたスキャンを示す場合にのみ必要です。
- recompute
型: System. . :: . .Boolean
統計値を自動的に再計算するかどうかを示す Boolean 値です。
True の場合、統計値が自動的に再計算されます。False の場合は、統計値は自動的に再計算されません。