

![Parralels](https://www.parallels.com/static/pl/fileadmin/res/img/navigation/pl-logo-dk.png)

# AppserverClient Command Line Interface

## disconnectrdpobj

stops an RDP connection.

**Category: RDP-Connections**


```
AppServerClientCLI disconnectrdpobj -id rdp:5
```
* **` id (mandatory) `** Specify the RDP connection ID to use.
## Return codes:
  ok
  NotAvailable
  InvalidId
  InvalidArgs
  InvalidState
  Exception
## Examples:
  AppServerClientCLI disconnectrdpobj -id rdp:5

## See also:
[connectrdpobj](connectrdpobj.md)
[disconnectallrdp](disconnectallrdp.md)
[getsmartsizing](getsmartsizing.md)
[setsmartsizing](setsmartsizing.md)
