Aracılığıyla paylaş


SqlAuthenticationProvider.BeforeLoad(SqlAuthenticationMethod) Yöntem

Tanım

Sağlayıcı SQL sürücüleri kayıt defterine eklenmeden hemen önce bu yöntem çağrılır.

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)

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.

Şunlara uygulanır