此 API 支援 SQL Server 2012 基礎結構,但無法直接從您的程式碼使用。
Gets or sets the number of seconds the task should wait to receive a WMI event before timing out.
命名空間: Microsoft.SqlServer.Dts.Tasks.WmiEventWatcherTask
組件: Microsoft.SqlServer.WMIEWTask (在 Microsoft.SqlServer.WMIEWTask.dll 中)
語法
'宣告
Property Timeout As Integer
Get
Set
'用途
Dim instance As IWmiEventWatcherTask
Dim value As Integer
value = instance.Timeout
instance.Timeout = value
int Timeout { get; set; }
property int Timeout {
int get ();
void set (int value);
}
abstract Timeout : int with get, set
function get Timeout () : int
function set Timeout (value : int)
屬性值
型別:System.Int32
The number of seconds the task should wait to receive a WMI event before timing out.