共用方式為


WmiEventWatcherTask.Timeout Property

Definition

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

public:
 property int Timeout { int get(); void set(int value); };
[Microsoft.SqlServer.Dts.Runtime.Localization.LocalizablePropertyDescription(typeof(Microsoft.SqlServer.Dts.Tasks.WmiEventWatcherTask.Localized), "TimeoutPropDesc")]
public int Timeout { get; set; }
[<Microsoft.SqlServer.Dts.Runtime.Localization.LocalizablePropertyDescription(typeof(Microsoft.SqlServer.Dts.Tasks.WmiEventWatcherTask.Localized), "TimeoutPropDesc")>]
member this.Timeout : int with get, set
Public Property Timeout As Integer

Property Value

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

Implements

Attributes

Remarks

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.

Applies to