-
Notifications
You must be signed in to change notification settings - Fork 292
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add IP address preference support for TCP connection (#1015)
- Loading branch information
1 parent
fee499f
commit 561b535
Showing
43 changed files
with
894 additions
and
107 deletions.
There are no files selected for viewing
40 changes: 40 additions & 0 deletions
40
doc/snippets/Microsoft.Data.SqlClient/SqlConnectionIPAddressPreference.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
<docs> | ||
<members name="SqlConnectionIPAddressPreference"> | ||
<SqlConnectionIPAddressPreferenceNetfx> | ||
<summary> | ||
Specifies a value for IP address preference during a TCP connection. | ||
</summary> | ||
<remarks> | ||
<format type="text/markdown"><![CDATA[ | ||
## Remarks | ||
If `Multi Subnet Failover` or "Transparent Network IP Resolution" is set to `true`, this setting has no effect. | ||
]]></format> | ||
</remarks> | ||
</SqlConnectionIPAddressPreferenceNetfx> | ||
<SqlConnectionIPAddressPreference> | ||
<summary> | ||
Specifies a value for IP address preference during a TCP connection. | ||
</summary> | ||
<remarks> | ||
<format type="text/markdown"><![CDATA[ | ||
## Remarks | ||
If `Multi Subnet Failover` is set to `true`, this setting has no effect. | ||
]]></format> | ||
</remarks> | ||
</SqlConnectionIPAddressPreference> | ||
<IPv4First> | ||
<summary>Connects using IPv4 address(es) first. If the connection fails, try IPv6 address(es), if provided. This is the default value.</summary> | ||
<value>0</value> | ||
</IPv4First> | ||
<IPv6First> | ||
<summary>Connect using IPv6 address(es) first. If the connection fails, try IPv4 address(es), if available.</summary> | ||
<value>1</value> | ||
</IPv6First> | ||
<UsePlatformDefault> | ||
<summary>Connects with IP addresses in the order the underlying platform or operating system provides them.</summary> | ||
<value>2</value> | ||
</UsePlatformDefault> | ||
</members> | ||
</docs> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.