SqlAuthenticationProvider.BeforeUnload(SqlAuthenticationMethod) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
This method is called immediately before the provider is removed from the SQL drivers registry.
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)
Parameters
- authenticationMethod
- SqlAuthenticationMethod
The authentication method.
Remarks
For example, this method is called when a different provider with the same authentication method overrides this provider in the SQL drivers registry. Avoid performing long-waiting task in this method, since it can block other threads from accessing the provider registry.
Applies to
Maklum balas
https://aka.ms/ContentUserFeedback.
Akan datang: Sepanjang 2024, kami akan menghentikan secara berperingkat Isu GitHub sebagai kaedah maklum balas untuk kandungan dan menggantikannya dengan sistem maklum balas baharu. Untuk mendapatkan maklumat lanjut lihat:Kirim dan lihat maklum balas untuk