SqlAuthenticationProvider.BeforeUnload(SqlAuthenticationMethod) 메서드

정의

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

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

매개 변수

authenticationMethod
SqlAuthenticationMethod

인증 방법입니다.

설명

예를 들어 동일한 인증 방법을 사용하는 다른 공급자가 SQL 인증 공급자 레지스트리에서 이 공급자를 재정의할 때 이 메서드가 호출됩니다. 다른 스레드가 공급자 레지스트리에 액세스하지 못하도록 차단할 수 있으므로 이 메서드에서 대기 시간이 오래 걸리는 작업을 수행하지 않습니다.

이 메서드는 throw해서는 안됩니다.

적용 대상