SqlAuthenticationMethod Enumeration

.NET Framework (current version)
 

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.

Namespace:   System.Data.SqlClient
Assembly:  System.Data (in System.Data.dll)

public enum SqlAuthenticationMethod

Member nameDescription
ActiveDirectoryIntegrated

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

ActiveDirectoryPassword

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

The authentication method is not specified.

SqlPassword

The authentication method is Sql Password.

.NET Framework
Available since 4.6
Return to top
Show: