IDTSExecuteProcess.TimeOut 屬性
此 API 支援 SQL Server 2012 基礎結構,但無法直接從您的程式碼使用。
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 中)
語法
'宣告
Property TimeOut As Integer
Get
Set
'用途
Dim instance As IDTSExecuteProcess
Dim value As Integer
value = instance.TimeOut
instance.TimeOut = value
int TimeOut { get; set; }
property int TimeOut {
int get ();
void set (int value);
}
abstract TimeOut : int with get, set
function get TimeOut () : int
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.