다음을 통해 공유


WmiEventWatcherTask.Timeout Property

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 (in microsoft.sqlserver.wmiewtask.dll)

구문

‘선언
Public Property Timeout As Integer
public int Timeout { get; set; }
public:
virtual property int Timeout {
    int get () sealed;
    void set (int value) sealed;
}
/** @property */
public final int get_Timeout ()

/** @property */
public final void set_Timeout (int value)
public final function get Timeout () : int

public final function set Timeout (value : int)

속성 값

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).

주의

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.

스레드 보안

Any public static (Shared in Microsoft Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

플랫폼

개발 플랫폼

지원되는 플랫폼 목록은 SQL Server 2005 설치를 위한 하드웨어 및 소프트웨어 요구 사항을 참조하십시오.

대상 플랫폼

지원되는 플랫폼 목록은 SQL Server 2005 설치를 위한 하드웨어 및 소프트웨어 요구 사항을 참조하십시오.

참고 항목

참조

WmiEventWatcherTask Class
WmiEventWatcherTask Members
Microsoft.SqlServer.Dts.Tasks.WmiEventWatcherTask Namespace