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)

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.

Properties

AuthenticationMethod

Gets the authentication method.

Authority

Gets the authority URI.

ConnectionId

Gets the connection ID.

DatabaseName

Gets the database name.

Password

Gets the user password.

Resource

Gets the resource URI.

ServerName

Gets the server name.

UserId

Gets the user login name/ID.

Methods

Equals(Object)

Determines whether the specified object is equal to the current object.

(Inherited from Object)
GetHashCode()

Serves as the default hash function.

(Inherited from Object)
GetType()

Gets the Type of the current instance.

(Inherited from Object)
MemberwiseClone()

Creates a shallow copy of the current Object.

(Inherited from Object)
ToString()

Returns a string that represents the current object.

(Inherited from Object)

Applies to

Product Versions
.NET Framework 4.7.2, 4.8, 4.8.1