SqlAuthenticationParameters Class

Definition

Represents AD authentication parameters passed by a driver to authentication providers.

C#
public class SqlAuthenticationParameters
Inheritance
SqlAuthenticationParameters

Constructors

SqlAuthenticationParameters(SqlAuthenticationMethod, String, String, String, String, String, String, Guid, Int32)

Initializes a new instance of the SqlAuthenticationParameters class using the specified authentication method, server name, database name, resource URI, authority URI, user login name/ID, user password, connection ID and connection timeout value.

SqlAuthenticationParameters(SqlAuthenticationMethod, String, String, String, String, String, String, Guid)

Initializes a new instance of the SqlAuthenticationParameters class using the specified authentication method, server name, database name, resource URI, authority URI, user login name/ID, user password and connection ID.

Fields

ConnectionTimeout

Gets the connection timeout value.

Properties

AuthenticationMethod

Gets the authentication method.

Authority

Gets the authority URI.

ConnectionId

Gets the connection ID.

ConnectionTimeout

Gets the connection timeout value.

DatabaseName

Gets the database name.

Password

Gets the user password.

Resource

The resource URIs.

ServerName

Gets the server name.

UserId

Gets the user login name/ID.

Applies to

Product Versions
SqlClient .NET Core 1.0, 1.1, 2.0, 2.1, 3.0, 3.1, 4.0, 4.1, 5.0, 5.1, 5.2
SqlClient .NET Framework 1.0, 1.1, 2.0, 2.1, 3.0, 3.1, 4.0, 4.1, 5.0, 5.1, 5.2
SqlClient .NET Standard 1.0, 1.1, 2.0, 2.1, 3.0, 3.1, 4.0, 4.1, 5.0, 5.1, 5.2