SqlAuthenticationProvider.SetProvider 메서드

정의

메서드별로 인증 공급자를 설정합니다.

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 (예: 기존 공급자가 재정의를 허용하지 않음)

적용 대상