Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
This method disconnects the active connection.
HRESULT Disconnect();
Parameters
None.
Return Values
If the method succeeds, the return value is S_OK.
If it fails, the method returns a nonzero error code.
Remarks
You can also disconnect the control by closing its main window. For example, if the control is hosted in a Web page, it is not necessary to call this method before leaving the page; closing the control triggers disconnection.
This method returns a failure code if called when the control is not connected.
Requirements
OS Versions: Windows CE .NET 4.0 and later.
Header: Discodlg.h. Mstsax.idl.
Link Library: Mstsax.lib.
See Also
Send Feedback on this topic to the authors