共用方式為


IDTSExecuteSQL.TimeOut 屬性

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

Gets or sets the maximum number of seconds the task can run before timing out.

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

語法

'宣告
Property TimeOut As UInteger 
    Get 
    Set
'用途
Dim instance As IDTSExecuteSQL 
Dim value As UInteger 

value = instance.TimeOut

instance.TimeOut = value
uint TimeOut { get; set; }
property unsigned int TimeOut {
    unsigned int get ();
    void set (unsigned int value);
}
abstract TimeOut : uint32 with get, set
function get TimeOut () : uint 
function set TimeOut (value : uint)

屬性值

型別:System.UInt32
The maximum number of seconds the task can run before timing out.

請參閱

參考

IDTSExecuteSQL 介面

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