Partager via


ExecuteProcess.TimeOut Property

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 (in microsoft.sqlserver.execproctask.dll)

Syntaxe

'Déclaration
Public Property TimeOut As Integer
public int TimeOut { get; set; }
public:
virtual property int TimeOut {
    int get () sealed;
    void set (int value) sealed;
}
/** @property */
public final int get_TimeOut ()

/** @property */
public final void set_TimeOut (int value)
public final function get TimeOut () : int

public final function set TimeOut (value : int)

Valeur de propriété

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.

Sécurité des threads

Any public static (Shared in Microsoft Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Plateformes

Plateformes de développement

Pour obtenir la liste des plateformes prises en charge, consultez Configuration matérielle et logicielle requise pour l'installation de SQL Server 2005.

Plateformes cibles

Pour obtenir la liste des plateformes prises en charge, consultez Configuration matérielle et logicielle requise pour l'installation de SQL Server 2005.

Voir aussi

Référence

ExecuteProcess Class
ExecuteProcess Members
Microsoft.SqlServer.Dts.Tasks.ExecuteProcess Namespace