Initializes a new instance of the
Connection class with the specified parameters.
- Namespace
- DbSyncKit
.MSSQL - Containing Type
- Connection
Syntax
public Connection(string serverAddress, bool useSQLAuthentication, string databaseName = null, string sqlUsername = null, string sqlPassword = null)Parameters
| Name | Type | Description |
|---|---|---|
| serverAddress | string | The address of the server. |
| useSQLAuthentication | bool | Indicates whether to use SQL authentication. |
| databaseName | string | The name of the database. |
| sqlUsername | string | The username for SQL authentication. |
| sqlPassword | string | The password for SQL authentication. |