SqlConnectionStringBuilder.ApplicationIntent Property

.NET Framework (current version)
 

Declares the application workload type when connecting to a database in an SQL Server Availability Group. You can set the value of this property with ApplicationIntent. 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)

member ApplicationIntent : ApplicationIntent with get, set

Property Value

Type: System.Data.SqlClient.ApplicationIntent

Returns the current value of the property (a value of type ApplicationIntent).

.NET Framework
Available since 4.5
Return to top
Show: