Share via


WmiEventWatcherTask.Timeout 속성

Gets or sets the number of seconds the task should wait to receive a Windows Management Instrumentation (WMI) event before timing out.

네임스페이스:  Microsoft.SqlServer.Dts.Tasks.WmiEventWatcherTask
어셈블리:  Microsoft.SqlServer.WMIEWTask(Microsoft.SqlServer.WMIEWTask.dll)

구문

‘선언
Public Property Timeout As Integer 
    Get 
    Set
‘사용 방법
Dim instance As WmiEventWatcherTask 
Dim value As Integer 

value = instance.Timeout

instance.Timeout = value
public int Timeout { get; set; }
public:
virtual property int Timeout {
    int get () sealed;
    void set (int value) sealed;
}
abstract Timeout : int with get, set 
override Timeout : int with get, set
final function get Timeout () : int 
final function set Timeout (value : int)

속성 값

유형: System.Int32
An Integer containing the number of seconds the task should wait to receive a WMI event before timing out. If set to zero (0), the task waits indefinitely. The default value is zero (0).

구현

IWmiEventWatcherTask.Timeout

주의

If the time specified in this property elapses before a WMI event occurs, the task performs the actions indicated by the values of the ActionAtTimeout and AfterTimeout properties. Otherwise, the task performs the actions indicated by the values of the ActionAtEvent and AfterEvent properties.

참고 항목

참조

WmiEventWatcherTask 클래스

Microsoft.SqlServer.Dts.Tasks.WmiEventWatcherTask 네임스페이스