Språk

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.

Använd Microsoft för ny utveckling. Data.SqlClient. Den här sidan dokumenterar System.Data.SqlClient.

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.

Använd Microsoft för ny utveckling. Data.SqlClient. Den här sidan dokumenterar System.Data.SqlClient.

SqlPassword 1

Autentiseringsmetoden är Sql Password.

Använd Microsoft för ny utveckling. Data.SqlClient. Den här sidan dokumenterar System.Data.SqlClient.

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.

Använd Microsoft för ny utveckling. Data.SqlClient. Den här sidan dokumenterar System.Data.SqlClient.

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.

Använd Microsoft för ny utveckling. Data.SqlClient. Den här sidan dokumenterar System.Data.SqlClient.

ActiveDirectoryInteractive 4

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

Använd Microsoft för ny utveckling. Data.SqlClient. Den här sidan dokumenterar System.Data.SqlClient.

Gäller för