SqlAuthenticationParameters Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Represents AD authentication parameters passed by a driver to authentication providers.
For new development, use Microsoft.Data.SqlClient. This page documents System.Data.SqlClient.
public ref class SqlAuthenticationParameters
public class SqlAuthenticationParameters
type SqlAuthenticationParameters = class
Public Class SqlAuthenticationParameters
- Inheritance
-
SqlAuthenticationParameters
Constructors
| Name | Description |
|---|---|
| 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. For new development, use Microsoft.Data.SqlClient. This page documents System.Data.SqlClient. |
Properties
| Name | Description |
|---|---|
| AuthenticationMethod |
Gets the authentication method. For new development, use Microsoft.Data.SqlClient. This page documents System.Data.SqlClient. |
| Authority |
Gets the authority URI. For new development, use Microsoft.Data.SqlClient. This page documents System.Data.SqlClient. |
| ConnectionId |
Gets the connection ID. For new development, use Microsoft.Data.SqlClient. This page documents System.Data.SqlClient. |
| DatabaseName |
Gets the database name. For new development, use Microsoft.Data.SqlClient. This page documents System.Data.SqlClient. |
| Password |
Gets the user password. For new development, use Microsoft.Data.SqlClient. This page documents System.Data.SqlClient. |
| Resource |
Gets the resource URI. For new development, use Microsoft.Data.SqlClient. This page documents System.Data.SqlClient. |
| ServerName |
Gets the server name. For new development, use Microsoft.Data.SqlClient. This page documents System.Data.SqlClient. |
| UserId |
Gets the user login name/ID. For new development, use Microsoft.Data.SqlClient. This page documents System.Data.SqlClient. |
Methods
| Name | Description |
|---|---|
| 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) |