Partager via


EventConnector::ConnectTo method

The ConnectTo method provides a way for an Application object to receive event notification.

Syntax

AppEventsDHTMLConnector.ConnectTo( _
  ByVal Application As Application _
)

Parameters

Application

The Application object that will receive event notification.

Return value

This method does not return a value.

Remarks

To close the connection, call AppEventsDHTMLConnector.Disconnect.

Requirements

Minimum supported client
Windows Vista
Minimum supported server
Windows Server 2008
Header
MMCObj.h
IDL
MMCObj.idl
DLL
Mmcndmgr.dll
CLSID
CLSID_AppEventsDHTMLConnector is defined as ADE6444B-C91F-4e37-92A4-5BB430A33340
IID
IID__EventConnector is defined as C0BCCD30-DE44-4528-8403-A05A6A1CC8EA

See also

Application object

AppEventsDHTMLConnector.Disconnect