SqlConnectionStringBuilder.ApplicationIntent Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.
public:
property System::Data::SqlClient::ApplicationIntent ApplicationIntent { System::Data::SqlClient::ApplicationIntent get(); void set(System::Data::SqlClient::ApplicationIntent value); };
public System.Data.SqlClient.ApplicationIntent ApplicationIntent { get; set; }
member this.ApplicationIntent : System.Data.SqlClient.ApplicationIntent with get, set
Public Property ApplicationIntent As ApplicationIntent
Property Value
Returns the current value of the property (a value of type ApplicationIntent).