Megosztás a következőn keresztül:


ActiveDirectoryAuthenticationProvider.BeforeLoad Method

Definition

This method is called immediately before the provider is added to authentication provider registry.

public:
 override void BeforeLoad(Microsoft::Data::SqlClient::SqlAuthenticationMethod authentication);
public override void BeforeLoad (Microsoft.Data.SqlClient.SqlAuthenticationMethod authentication);
override this.BeforeLoad : Microsoft.Data.SqlClient.SqlAuthenticationMethod -> unit
Public Overrides Sub BeforeLoad (authentication As SqlAuthenticationMethod)

Parameters

authentication
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