Partager via


Propriété TimeOut

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

Espace de noms :  Microsoft.SqlServer.Dts.Tasks.ExecuteProcess
Assembly :  Microsoft.SqlServer.ExecProcTask (en Microsoft.SqlServer.ExecProcTask.dll)

Syntaxe

'Déclaration
Public Property TimeOut As Integer
    Get
    Set
'Utilisation
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)

Valeur de propriété

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.

Implémente

IDTSExecuteProcess. . :: . .TimeOut