Share via


SqlConnectionStringBuilder.Authentication Propriété

Définition

Obtient ou définit la méthode d’authentification utilisée pour la connexion à SQL Database à l’aide de l’authentification Azure Active Directory.

public:
 property Microsoft::Data::SqlClient::SqlAuthenticationMethod Authentication { Microsoft::Data::SqlClient::SqlAuthenticationMethod get(); void set(Microsoft::Data::SqlClient::SqlAuthenticationMethod value); };
public Microsoft.Data.SqlClient.SqlAuthenticationMethod Authentication { get; set; }
member this.Authentication : Microsoft.Data.SqlClient.SqlAuthenticationMethod with get, set
Public Property Authentication As SqlAuthenticationMethod

Valeur de propriété

Méthode d’authentification du chaîne de connexion.

Remarques

Pour plus d’informations, consultez Utilisation de l’authentification Azure Active Directory avec SqlClient.

S’applique à