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.
Assembly: System.Data (in System.Data.dll)
public: property ApplicationIntent ApplicationIntent { ApplicationIntent get(); void set(ApplicationIntent value); }
Property Value
Type: System.Data.SqlClient::ApplicationIntentReturns the current value of the property (a value of type ApplicationIntent).
.NET Framework
Available since 4.5
Available since 4.5
Show: