共用方式為


TraceReplayOptions.HealthMonitorPollInterval 屬性

Gets or sets the interval between checking for unused threads in seconds.

命名空間:  Microsoft.SqlServer.Management.Trace
組件:  Microsoft.SqlServer.ConnectionInfoExtended (在 Microsoft.SqlServer.ConnectionInfoExtended.dll 中)

語法

'宣告
Public Property HealthMonitorPollInterval As Integer 
    Get 
    Set
'用途
Dim instance As TraceReplayOptions 
Dim value As Integer 

value = instance.HealthMonitorPollInterval

instance.HealthMonitorPollInterval = value
public int HealthMonitorPollInterval { get; set; }
public:
property int HealthMonitorPollInterval {
    int get ();
    void set (int value);
}
member HealthMonitorPollInterval : int with get, set
function get HealthMonitorPollInterval () : int 
function set HealthMonitorPollInterval (value : int)

屬性值

型別:System.Int32
An Int32 value that specifies the interval between checking for unused threads in seconds.

範例

Readme_Tracer

請參閱

參考

TraceReplayOptions 類別

Microsoft.SqlServer.Management.Trace 命名空間

其他資源

追蹤旗標 (Transact-SQL)

SQL Server Profiler 範本和權限