SqlAuthenticationProvider.BeforeUnload(SqlAuthenticationMethod) 메서드

정의

이 메서드는 공급자가 SQL 드라이버의 레지스트리에서 제거되기 직전에 호출됩니다.

public:
 virtual void BeforeUnload(System::Data::SqlClient::SqlAuthenticationMethod authenticationMethod);
public virtual void BeforeUnload (System.Data.SqlClient.SqlAuthenticationMethod authenticationMethod);
abstract member BeforeUnload : System.Data.SqlClient.SqlAuthenticationMethod -> unit
override this.BeforeUnload : System.Data.SqlClient.SqlAuthenticationMethod -> unit
Public Overridable Sub BeforeUnload (authenticationMethod As SqlAuthenticationMethod)

매개 변수

authenticationMethod
SqlAuthenticationMethod

인증 방법

설명

예를 들어이 메서드는 동일한 인증 메서드를 사용 하 여 다른 공급자는 SQL 드라이버 레지스트리에서이 공급자를 재정의 하는 경우 호출 됩니다. 하므로 다른 스레드가 공급자 레지스트리에 액세스 하지 못하도록 차단할 수 있으므로이 메서드에서 대기 시간이 긴 작업을 수행 하지 마세요.

적용 대상