Share via


WmiEventWatcherTask.Timeout プロパティ

定義

タスクがタイムアウトする前に Windows Management Instrumentation (WMI) イベントの受信を待機する秒数を取得します。値の設定も可能です。

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

プロパティ値

タスクが WMI イベントの受信を待機してからタイムアウトするまでの秒数を含む整数。ゼロ (0) に設定すると、タスクは無期限に待機します。 既定値は 0 です。

実装

属性

注釈

WMI イベントが発生する前にこのプロパティで指定した時間が経過した場合、タスクは、ActionAtTimeout プロパティと AfterTimeout プロパティの値によって指定されたアクションを実行します。 それ以外の場合、タスクは ActionAtEvent プロパティと AfterEvent プロパティの値によって指定されたアクションを実行します。

適用対象