Επεξεργασία

Κοινή χρήση μέσω


SqlAuthenticationMethod Enum

Definition

Describes the different SQL authentication methods that can be used by a client connecting to Azure SQL Database. For details, see Connecting to SQL Database By Using Azure Active Directory Authentication.

public enum class SqlAuthenticationMethod
public enum SqlAuthenticationMethod
type SqlAuthenticationMethod = 
Public Enum SqlAuthenticationMethod
Inheritance
SqlAuthenticationMethod

Fields

Name Value Description
NotSpecified 0

The authentication method is not specified.

SqlPassword 1

The authentication method is Sql Password.

ActiveDirectoryPassword 2

The authentication method uses Active Directory Password. Use Active Directory Password to connect to a SQL Database using an Azure AD principal name and password.

ActiveDirectoryIntegrated 3

The authentication method uses Active Directory Integrated. Use Active Directory Integrated to connect to a SQL Database using integrated Windows authentication.

ActiveDirectoryInteractive 4

The authentication method uses Active Directory Interactive. Available since .NET Framework 4.7.2.

Applies to