SqlAuthenticationMethod Enum

Definition

Beskriver de olika SQL-autentiseringsmetoder som kan användas av en klient som ansluter till Azure SQL Database. Mer information finns i Ansluta till SQL Database med hjälp av Azure Active Directory-autentisering.

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

Fält

Name Värde Description
NotSpecified 0

Autentiseringsmetoden har inte angetts.

SqlPassword 1

Autentiseringsmetoden är Sql Password.

ActiveDirectoryPassword 2

Autentiseringsmetoden använder služba Active Directory Lösenord. Använd služba Active Directory Lösenord för att ansluta till en SQL Database med ett Azure AD-huvudnamn och lösenord.

ActiveDirectoryIntegrated 3

Autentiseringsmetoden använder služba Active Directory Integrated. Använd služba Active Directory Integrated för att ansluta till en SQL Database med hjälp av integrerade Windows authentication.

ActiveDirectoryInteractive 4

Autentiseringsmetoden använder služba Active Directory Interactive. Tillgänglig sedan .NET Framework 4.7.2.

Gäller för