SqlAuthenticationProvider.SetProvider 메서드
정의
중요
일부 정보는 릴리스되기 전에 상당 부분 수정될 수 있는 시험판 제품과 관련이 있습니다. Microsoft는 여기에 제공된 정보에 대해 어떠한 명시적이거나 묵시적인 보증도 하지 않습니다.
메서드별로 인증 공급자를 설정합니다.
public:
static bool SetProvider(System::Data::SqlClient::SqlAuthenticationMethod authenticationMethod, System::Data::SqlClient::SqlAuthenticationProvider ^ provider);
public static bool SetProvider(System.Data.SqlClient.SqlAuthenticationMethod authenticationMethod, System.Data.SqlClient.SqlAuthenticationProvider provider);
static member SetProvider : System.Data.SqlClient.SqlAuthenticationMethod * System.Data.SqlClient.SqlAuthenticationProvider -> bool
Public Shared Function SetProvider (authenticationMethod As SqlAuthenticationMethod, provider As SqlAuthenticationProvider) As Boolean
매개 변수
- authenticationMethod
- SqlAuthenticationMethod
인증 방법입니다.
- provider
- SqlAuthenticationProvider
인증 공급자입니다.
반품
true 작업이 성공하면 이고, 그렇지 않으면 false (예: 기존 공급자가 재정의를 허용하지 않음)