Olvasás angol nyelven Szerkesztés

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


SqlAuthenticationProvider.SetProvider Method

Definition

Sets an authentication provider by method.

C#
public static bool SetProvider(System.Data.SqlClient.SqlAuthenticationMethod authenticationMethod, System.Data.SqlClient.SqlAuthenticationProvider provider);

Parameters

authenticationMethod
SqlAuthenticationMethod

The authentication method.

provider
SqlAuthenticationProvider

The authentication provider.

Returns

true if the operation succeeded; otherwise, false (for example, the existing provider disallows overriding).

Applies to

Termék Verziók
.NET Framework 4.7.2, 4.8, 4.8.1