SqlConnectionStringBuilder.ApplicationIntent Property

Definition

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).

Applies to

See also