SqlConnectionStringBuilder.ApplicationIntent Egenskap

Definition

Deklarerar programarbetsbelastningstypen när du ansluter till en databas i en SQL Server tillgänglighetsgrupp. Du kan ange värdet för den här egenskapen med ApplicationIntent. Mer information om SqlClient-stöd för AlwaysOn-tillgänglighetsgrupper finns i SqlClient-stöd för hög tillgänglighet, haveriberedskap.

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

Egenskapsvärde

Returnerar det aktuella värdet för egenskapen (ett värde av typen ApplicationIntent).

Gäller för

Se även