共用方式為


IDTSExecuteProcess.TerminateProcessAfterTimeOut 屬性

此 API 支援 SQL Server 2012 基礎結構,但無法直接從您的程式碼使用。

Gets or sets a value that indicates whether the process is forced to end after the time-out period specified by the TimeOut property.

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

語法

'宣告
Property TerminateProcessAfterTimeOut As Boolean 
    Get 
    Set
'用途
Dim instance As IDTSExecuteProcess 
Dim value As Boolean 

value = instance.TerminateProcessAfterTimeOut

instance.TerminateProcessAfterTimeOut = value
bool TerminateProcessAfterTimeOut { get; set; }
property bool TerminateProcessAfterTimeOut {
    bool get ();
    void set (bool value);
}
abstract TerminateProcessAfterTimeOut : bool with get, set
function get TerminateProcessAfterTimeOut () : boolean 
function set TerminateProcessAfterTimeOut (value : boolean)

屬性值

型別:System.Boolean
true if the process is forced to end after the time-out period specified by the TimeOut property; false if the process can continue to run regardless of the time-out period.

請參閱

參考

IDTSExecuteProcess 介面

Microsoft.SqlServer.Dts.Tasks.ExecuteProcess 命名空間