SqlAuthenticationProvider.BeforeLoad(SqlAuthenticationMethod) Yöntem

Tanım

Bu yöntem, sağlayıcı SQL kimlik doğrulama sağlayıcısı kayıt defterine eklenmeden hemen önce çağrılır.

public:
 virtual void BeforeLoad(Microsoft::Data::SqlClient::SqlAuthenticationMethod authenticationMethod);
public virtual void BeforeLoad(Microsoft.Data.SqlClient.SqlAuthenticationMethod authenticationMethod);
abstract member BeforeLoad : Microsoft.Data.SqlClient.SqlAuthenticationMethod -> unit
override this.BeforeLoad : Microsoft.Data.SqlClient.SqlAuthenticationMethod -> unit
Public Overridable Sub BeforeLoad (authenticationMethod As SqlAuthenticationMethod)

Parametreler

authenticationMethod
SqlAuthenticationMethod

Kimlik doğrulama yöntemi.

Açıklamalar

Diğer iş parçacıklarının sağlayıcı kayıt defterine erişmesini engelleyebileceğinden, bu yöntemde uzun süre bekleyen görevler gerçekleştirmekten kaçının.

Bu yöntem oluşturmamalıdır.

Şunlara uygulanır