ActiveDirectoryAuthenticationProvider.BeforeUnload 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 authentication provider registry.
public:
override void BeforeUnload(Microsoft::Data::SqlClient::SqlAuthenticationMethod authentication);
public override void BeforeUnload (Microsoft.Data.SqlClient.SqlAuthenticationMethod authentication);
override this.BeforeUnload : Microsoft.Data.SqlClient.SqlAuthenticationMethod -> unit
Public Overrides Sub BeforeUnload (authentication As SqlAuthenticationMethod)
Parameters
- authentication
- 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 authentication provider registry. Avoid performing long-waiting task in this method, since it can block other threads from accessing the provider registry.