The ConnectionTimeout property returns or sets the number of seconds to wait while establishing a connection. After that, an error is generated.
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 |
Long
Read/write
HRESULT GetConnectionTimeout(LONG *pRetVal);
HRESULT SetConnectionTimeout(LONG NewValue);
The default is 60 seconds.