ExecuteProcess.TimeOut Property

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

命名空間: Microsoft.SqlServer.Dts.Tasks.ExecuteProcess
組件: Microsoft.SqlServer.ExecProcTask (in microsoft.sqlserver.execproctask.dll)

語法

'宣告
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)

屬性值

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.

執行緒安全性

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.

平台

開發平台

如需受支援的平台清單,請參閱<安裝 SQL Server 2005 的硬體和軟體需求>。

目標平台

如需受支援的平台清單,請參閱<安裝 SQL Server 2005 的硬體和軟體需求>。

請參閱

參考

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