SqlConnectionInfo.AuthenticationMethod 열거형

정의

로그인하는 데 사용되는 인증 방법

public enum SqlConnectionInfo.AuthenticationMethod
type SqlConnectionInfo.AuthenticationMethod = 
Public Enum SqlConnectionInfo.AuthenticationMethod
상속
SqlConnectionInfo.AuthenticationMethod

필드

Name Description
NotSpecified 0

NotSpecified는 실제 인증 유형이 다른 연결 문자열 매개 변수에서 유추됨을 의미합니다.

SqlPassword 1

사용자 ID 및 암호는 SQL 로그인 인증에 사용됩니다.

ActiveDirectoryPassword 2

사용자 ID는 Azure AD 보안 주체입니다.

ActiveDirectoryIntegrated 3

현재 AD 또는 Kerberos 보안 주체 자격 증명은 연결하는 데 사용됩니다.

ActiveDirectoryInteractive 5

대화형 UI 흐름을 사용하여 인증할 토큰을 획득합니다. 사용자 ID는 선택 사항입니다.

ActiveDirectoryDeviceCodeFlow 6

사용자에게 외부 디바이스에서 토큰을 획득하라는 메시지를 표시합니다.

ActiveDirectoryManagedIdentity 7

시스템 할당 또는 사용자 할당 관리 ID를 사용하여 토큰을 획득합니다.

ActiveDirectoryMSI 7

ActiveDirectoryManagedIdentity의 별칭

ActiveDirectoryServicePrincipal 8

사용자 ID는 Azure 서비스 주체의 클라이언트 ID이며 암호는 클라이언트 암호입니다.

ActiveDirectoryDefault 9

여러 비대화형 인증 방법을 순차적으로 시도하여 액세스 토큰을 획득하려고 시도합니다. 이 메서드는 Active Directory 대화형 인증 방법으로 대체되지 않습니다.

적용 대상