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.

Namespace:   Microsoft.SqlServer.Dts.Tasks.WmiEventWatcherTask
Assembly:  Microsoft.SqlServer.WMIEWTask (in Microsoft.SqlServer.WMIEWTask.dll)

public:
property int Timeout {
	virtual int get() sealed;
	virtual void set(int value) sealed;
}

Property Value

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

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.

Return to top
Show: