SqlAuthenticationProvider.BeforeLoad(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 added to SQL drivers registry.
public:
virtual void BeforeLoad(System::Data::SqlClient::SqlAuthenticationMethod authenticationMethod);
public virtual void BeforeLoad (System.Data.SqlClient.SqlAuthenticationMethod authenticationMethod);
abstract member BeforeLoad : System.Data.SqlClient.SqlAuthenticationMethod -> unit
override this.BeforeLoad : System.Data.SqlClient.SqlAuthenticationMethod -> unit
Public Overridable Sub BeforeLoad (authenticationMethod As SqlAuthenticationMethod)
Parameters
- authenticationMethod
- SqlAuthenticationMethod
The authentication method.
Remarks
Avoid performing long-waiting tasks in this method, since it can block other threads from accessing the provider registry.
Applies to
Tee yhteistyötä kanssamme GitHubissa
Tämän sisällön lähde on GitHubissa, jossa voit myös luoda ja tarkastella ongelmia ja pull-pyyntöjä. Katso lisätietoja osallistujan oppaasta.