Note

Access to this page requires authorization. You can try signing in or .

Access to this page requires authorization. You can try .

SqlConnectionStringBuilder.ApplicationIntent Property

Definition

Namespace:
System.Data.SqlClient
Assembly:
System.Data.SqlClient.dll
Assembly:
System.Data.dll
Source:
System.Data.SqlClient.notsupported.cs

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

Applies to

See also


Feedback

Was this page helpful?