CommandTimeout Property (DTS)

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

Applies To
ExecuteSQLTask 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

Remarks

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

Data Type

Long

Modifiable

Read/write

Prototype (C/C++)

HRESULT GetCommandTimeout(LONG *pRetVal);

HRESULT SetCommandTimeout(LONG NewValue);

  


(c) 1988-98 Microsoft Corporation. All Rights Reserved.