DTS Programming
ConnectionTimeout Property
The ConnectionTimeout property returns or sets the number of seconds to wait while establishing a connection. After that, an error is generated.
Applies To
| Connection Object | Connection2 Object |
Syntax
object.ConnectionTimeout [= value]
| Part | Description |
|---|---|
| object | Expression that evaluates to an object in the Applies To list |
| value | Number of seconds to wait while establishing a connection |
Data Type
Long
Modifiable
Read/write
Prototype (C/C++)
HRESULT GetConnectionTimeout(LONG *pRetVal);
HRESULT SetConnectionTimeout(LONG NewValue);
Remarks
The default is 60 seconds.