IWdsTransportClient::Disconnect method (wdstptmgmt.h)
Disconnects the WDS client from the session and specifies what action the client should take upon disconnection.
Syntax
HRESULT Disconnect(
[in] WDSTRANSPORT_DISCONNECT_TYPE DisconnectionType
);
Parameters
[in] DisconnectionType
A value of the WDSTRANSPORT_DISCONNECT_TYPE enumeration that specifies what action the WDS client should take when disconnected.
Return value
Standard HRESULT error values are used: S_OK for success; others for failure.
Requirements
Requirement | Value |
---|---|
Minimum supported client | None supported |
Minimum supported server | Windows Server 2008 [desktop apps only] |
Target Platform | Windows |
Header | wdstptmgmt.h |
DLL | Wdstptmgmt.dll |