Share via


IMsTscAx::Disconnect (Windows CE 5.0)

Send Feedback

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

IMsTscAx | IMsTscAx::Connect

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.