Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

SqlConnectionStringBuilder.ApplicationIntent Property

.NET Framework 4.6 and 4.5

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)

public ApplicationIntent ApplicationIntent { get; set; }

Property Value

Type: System.Data.SqlClient.ApplicationIntent
Returns the current value of the property (a value of type ApplicationIntent).

.NET Framework

Supported in: 4.6, 4.5
© 2015 Microsoft