Using Transparent Network IP Resolution with the ODBC Driver
TransparentNetworkIPResolution is a revision of the existing MultiSubnetFailover feature, available in Microsoft ODBC Driver 13.1 for SQL Server, that affects the connection sequence of the driver in the case where the first resolved IP of the hostname does not respond and there are multiple IPs associated with the hostname. It interacts with MultiSubnetFailover to provide the following three connection sequences:
- 0: One IP is attempted, followed by all IPs in parallel
- 1: All IPs are attempted in parallel
- 2: All IPs are attempted one after another
TransparentNetworkIPResolution connection string and DSN keyword controls this setting at the connection-string level. The default is enabled.
SQL_COPT_SS_TNIR pre-connection attribute allows an application to control this setting programmatically:
||Enables or disables TNIR.|