共用方式為


TimeOut 屬性

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

命名空間:  Microsoft.SqlServer.Dts.Tasks.ExecuteProcess
組件:  Microsoft.SqlServer.ExecProcTask (在 Microsoft.SqlServer.ExecProcTask.dll 中)

語法

'宣告
Public Property TimeOut As Integer
    Get
    Set
'用途
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)

屬性值

型別: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.

實作

IDTSExecuteProcess. . :: . .TimeOut