Skip to main content

MsSqlConnectionParameters Members

Contains parameters used to establish a connection to a Microsoft SQL Server.

Constructors

Name Description
MsSqlConnectionParameters() Initializes a new instance of the MsSqlConnectionParameters class with the default settings.
MsSqlConnectionParameters(String, String, String, String, MsSqlAuthorizationType, DefaultBoolean, DefaultBoolean) Initializes a new instance of the MsSqlConnectionParameters class with specified settings.
MsSqlConnectionParameters(String, String, String, String, MsSqlAuthorizationType) Initializes a new instance of the MsSqlConnectionParameters class.

Properties

Name Description
AuthorizationType Gets or sets the authentication mode of the Microsoft SQL Server.
DatabaseName Gets or sets the name of the database that contains the required data. Inherited from SqlServerConnectionParametersBase.
Encrypt Specifies whether all communication between the server and the client is encrypted.
Password Gets or sets the password used to authenticate to a SQL server. Inherited from SqlServerConnectionParametersBase.
ServerName Gets or sets the name of the SQL server to which the connection should be established. Inherited from SqlServerConnectionParametersBase.
TrustServerCertificate Gets or sets a value that indicates whether the channel will be encrypted when certificate chain bypass is performed to validate trust.
UserName Gets or sets the user name used to authenticate to the SQL server. Inherited from SqlServerConnectionParametersBase.

Methods

Name Description
Equals(Object, Object) static Determines whether the specified object instances are considered equal. Inherited from Object.
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() protected Creates a shallow copy of the current Object. Inherited from Object.
ReferenceEquals(Object, Object) static Determines whether the specified Object instances are the same instance. Inherited from Object.
ToString() Returns a string that represents the current object. Inherited from Object.
See Also