
## SetConnection {#setconnection}

Connection to a server (optional).

```cpp
SetConnection(System::SharedPtr < IConnection > connection)
```

| Parameter | Description |
| --- | --- |
| connection |  |

