Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

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.

Namespace:   System.Data.SqlClient
Assembly:  System.Data (in System.Data.dll)

public:
property ApplicationIntent ApplicationIntent {
	ApplicationIntent get();
	void set(ApplicationIntent value);
}

Property Value

Type: System.Data.SqlClient::ApplicationIntent

Returns the current value of the property (a value of type ApplicationIntent).

.NET Framework
Available since 4.5
Return to top
Show:
© 2017 Microsoft