SqlConnectionStringBuilder.ApplicationIntent Property

.NET Framework (current version)

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

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 As ApplicationIntent

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