Disconnects the active connection.
This method has no parameters.
Return S_OK if successful.
This method returns a failure error value if it is called when the control is not connected.
It is also possible to disconnect the control by closing its main window. For example, if the control is hosted in a webpage, it is not necessary to call this method before leaving the page; the closing of the control triggers a disconnection.
For more information about Remote Desktop Web Connection, see Requirements for Remote Desktop Web Connection.
|Minimum supported client
|Minimum supported server
|Windows Server 2008
|IID_IMsTscAx is defined as 8C11EFAE-92C3-11D1-BC1E-00C04FA31489