Share via


ExecuteProcess.TimeOut Property

Gets or sets the number of seconds that the task allows the process to run.

Namespace:  Microsoft.SqlServer.Dts.Tasks.ExecuteProcess
Assembly:  Microsoft.SqlServer.ExecProcTask (in Microsoft.SqlServer.ExecProcTask.dll)

Syntax

'Declaration
Public Property TimeOut As Integer 
    Get 
    Set
'Usage
Dim instance As ExecuteProcess 
Dim value As Integer 

value = instance.TimeOut

instance.TimeOut = value
public int TimeOut { get; set; }
public:
virtual property int TimeOut {
    int get () sealed;
    void set (int value) sealed;
}
abstract TimeOut : int with get, set 
override TimeOut : int with get, set
final function get TimeOut () : int 
final function set TimeOut (value : int)

Property Value

Type: System.Int32
An Integer that indicates the number of seconds that the task allows the process to run. A value of 0 indicates that no time-out value is used, and the process runs to completion or until an error occurs.

Implements

IDTSExecuteProcess.TimeOut

See Also

Reference

ExecuteProcess Class

Microsoft.SqlServer.Dts.Tasks.ExecuteProcess Namespace