Share via


IWmiEventWatcherTask.Timeout Property

This API supports the SQL Server 2012 infrastructure and is not intended to be used directly from your code.

Gets or sets the number of seconds the task should wait to receive a WMI event before timing out.

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

Syntax

'Declaration
Property Timeout As Integer 
    Get 
    Set
'Usage
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)

Property Value

Type: System.Int32
The number of seconds the task should wait to receive a WMI event before timing out.

See Also

Reference

IWmiEventWatcherTask Interface

Microsoft.SqlServer.Dts.Tasks.WmiEventWatcherTask Namespace