dotConnect for SQL Server Documentation
Devart.Data.SqlServer Namespace / SqlAuthenticationProvider Class / SetProvider Method
The authentication method.
The authentication provider.

On this page
    SetProvider Method
    On this page
    Sets an authentication provider by the method.
    Syntax
    'Declaration
     
    Public Shared Function SetProvider( _
       ByVal authenticationMethod As SqlAuthenticationMethod, _
       ByVal provider As SqlAuthenticationProvider _
    ) As Boolean

    Parameters

    authenticationMethod
    The authentication method.
    provider
    The authentication provider.

    Return Value

    Returns Boolean that is true if the operation succeeds; otherwise, false.
    See Also