Generate connection string
Forms a connection string from the passed data
- Parameters
- Advanced call ?
Function GenerateConnectionString(Val Address, Val Base = "", Val Login = "", Val Password = "", Val Port = "", Val WindowsAuth = False) Export
| Parameter | CLI option | Type | Required | Description |
|---|---|---|---|---|
| Address | --addr | String | ✔ | Database server address and instance |
| Base | --db | String | ✖ | Name of the database to connect |
| Login | --login | String | ✖ | mssql user login |
| Password | --pass | String | ✖ | mssql user password |
| Port | --port | Number |