Share via


IMsTscAx::Disconnect (Windows Embedded CE 6.0)

1/6/2010

This method disconnects the active connection.

Syntax

HRESULT Disconnect();

Parameters

None.

Return Value

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

Header discodlg.h, mstsax.idl
Library Mstsax.lib
Windows Embedded CE Windows CE .NET 4.0 and later

See Also

Reference

IMsTscAx
IMsTscAx::Connect