# Set Connection Settings

Configures and validates the MsSql connection settings.


---

### :arrow_left:**INPUT**

| **Parameter** | **Type** | **Required** | **Description** |
|-----------|------|----------|-------------|
| `Host`    | `String` | ✅Yes     | Server address |
| `Database` | `String` | ✅Yes     | Database name |
| `Username` | `String` | ✅Yes     | User name   |
| `Password` | `SecureString` | ✅Yes     | Password    |
| `Port`    | `Int32` | ❌No      | Port number |


---

### ➡️**OUTPUT**

| **Parameter** | **Type** | **Description** |
|-----------|------|-------------|
| `PAWMsSqlConnectionSettings` | [`PAWMsSqlConnectionSettings`](/doc/pawmssqlconnectionsettings-sPYSdWCaH8) | Connection information |


---

### :arrow_down:**MISC**

| **Parameter** | **Type** | **Default** | **Description** |
|-----------|------|---------|-------------|
| `ThrowException` | `Boolean` | ❌No     | Specifies whether an exception is thrown when the operation fails. The default value is "**No**". |