CommandTimeout Property

DTS Programming

DTS Programming

CommandTimeout Property

The CommandTimeout property specifies the amount of time, in seconds, before the command is presumed to have failed.

Applies To
ExecuteSQLTask Object ExecuteSQLTask2 Object
Syntax

object.CommandTimeout [= value]

Part Description
object Expression that evaluates to an object in the Applies To list
value Time, in seconds, before the command is presumed to have failed

Data Type

Long

Modifiable

Read/write

Prototype (C/C++)

HRESULT GetCommandTimeout(LONG *pRetVal);

HRESULT SetCommandTimeout(LONG NewValue);

Remarks

A value of 0 (default) indicates no time-out period.