SqlAuthenticationMethod Énumération
Définition
Important
Certaines informations portent sur la préversion du produit qui est susceptible d’être en grande partie modifiée avant sa publication. Microsoft exclut toute garantie, expresse ou implicite, concernant les informations fournies ici.
Décrit les différentes méthodes d’authentification SQL qui peuvent être utilisées par un client se connectant à Azure SQL Database. Pour plus d’informations, consultez Connecting à SQL Database à l’aide de l’authentification Azure Active Directory.
public enum class SqlAuthenticationMethod
public enum SqlAuthenticationMethod
type SqlAuthenticationMethod =
Public Enum SqlAuthenticationMethod
- Héritage
Champs
| Nom | Valeur | Description |
|---|---|---|
| NotSpecified | 0 | La méthode d’authentification n’est pas spécifiée. |
| SqlPassword | 1 | La méthode d’authentification est Le mot de passe Sql. |
| ActiveDirectoryPassword | 2 | La méthode d’authentification utilise Active Directory mot de passe. Utilisez Active Directory mot de passe pour vous connecter à une base de données SQL à l’aide d’un nom de principal et d’un mot de passe Azure AD. |
| ActiveDirectoryIntegrated | 3 | La méthode d’authentification utilise Active Directory intégré. Utilisez Active Directory intégré pour vous connecter à une base de données SQL à l’aide d’Authentification Windows intégrés. |
| ActiveDirectoryInteractive | 4 | La méthode d’authentification utilise Active Directory Interactive. Disponible depuis .NET Framework 4.7.2. |