SqlAuthenticationMethod SqlAuthenticationMethod SqlAuthenticationMethod 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
SqlAuthenticationMethodSqlAuthenticationMethodSqlAuthenticationMethodSqlAuthenticationMethod

Fields

ActiveDirectoryIntegrated ActiveDirectoryIntegrated ActiveDirectoryIntegrated ActiveDirectoryIntegrated 3

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

ActiveDirectoryInteractive ActiveDirectoryInteractive ActiveDirectoryInteractive ActiveDirectoryInteractive 4
ActiveDirectoryPassword ActiveDirectoryPassword ActiveDirectoryPassword 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.

NotSpecified NotSpecified NotSpecified NotSpecified 0

The authentication method is not specified.

SqlPassword SqlPassword SqlPassword SqlPassword 1

The authentication method is Sql Password.

Applies to