'Declaration Public Shared Function SetProvider( _ ByVal authenticationMethod As SqlAuthenticationMethod, _ ByVal provider As SqlAuthenticationProvider _ ) As Boolean |
public static bool SetProvider( SqlAuthenticationMethod authenticationMethod, SqlAuthenticationProvider provider ) |
Parameters
- authenticationMethod
- The authentication method.
- provider
- The authentication provider.
Return Value
Returns Boolean that is true if the operation succeeds; otherwise, false.