Share via


IMsTscAx::get_Connected

Other versions of this page are also available for the following:

Windows Mobile Not SupportedWindows Embedded CE Supported

8/28/2008

This method retrieves the value of the Connected property, which specifies the connection state of the current control.

Syntax

HRESULT get_Connected(
  short* pIsConnected
);

Parameters

  • pIsConnected
    [out] A pointer to the value of the Connected property. The value is 1 if the control is in the connected state, zero otherwise.

Return Value

If the method succeeds, the return value is S_OK.

If it fails, the method returns a nonzero error code.

Remarks

The preferred way to determine the control's connection state is to respond to the connection events in the IMsTscAxEvents interface.

Requirements

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

See Also

Reference

IMsTscAx
IMsTscAxEvents