IMsTscAx::get_Connected
This method retrieves the value of the Connected property, which specifies the connection state of the current control.
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 Values
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
OS Versions: Windows CE .NET 4.0 and later.
Header: Discodlg.h. Mstsax.idl.
Link Library: Mstsax.lib.
See Also
Last updated on Saturday, April 10, 2004
© 1992-2003 Microsoft Corporation. All rights reserved.