ActiveDirectoryAuthenticationProvider.BeforeLoad 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
在将提供程序添加到身份验证提供程序注册表之前,将立即调用此方法。
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)
参数
- authentication
- SqlAuthenticationMethod
身份验证方法。
注解
避免在此方法中执行长时间等待的任务,因为它可能会阻止其他线程访问提供程序注册表。