共用方式為


SetScanOptions 方法

Sets the scan options for the statistic counter.

命名空間:  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
)

參數