SqlConnectionStringBuilder.MultiSubnetFailover Property

.NET Framework (current version)

If your application is connecting to an AlwaysOn availability group (AG) on different subnets, setting MultiSubnetFailover=true provides faster detection of and connection to the (currently) active server. For more information about SqlClient support for Always On Availability Groups, see SqlClient Support for High Availability, Disaster Recovery.

Namespace:   System.Data.SqlClient
Assembly:  System.Data (in System.Data.dll)

Public Property MultiSubnetFailover As Boolean

Property Value

Type: System.Boolean

Returns Boolean indicating the current value of the property.

.NET Framework
Available since 4.5
Return to top