ServerSelectionTimeoutMS
The amount of time, in milliseconds, that the connector searches for a server. When this time is reached, the connector returns an error.
Note:
This property is only checked if ServerSelectionTryOnce is set to 0. If ServerSelectionTryOnce is set to 1 or is not explicitly set, the server selection timeout value is specified in the SQL_ATTR_LOGIN_TIMEOUT attribute. The default value for SQL_ATTR_LOGIN_TIMEOUT is 5000 milliseconds.
| Key Name | Default Value | Required |
|---|---|---|
|
|
|
No |