Vcl.OleServer.TOleServer.DisconnectEvents

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

procedure DisconnectEvents(const Obj: Iunknown);

C++

void __fastcall DisconnectEvents(const System::_di_IInterface Obj);

Properties

Type Visibility Source Unit Parent
procedure
function
protected
Vcl.OleServer.pas
Vcl.OleServer.hpp
Vcl.OleServer TOleServer

Description

Terminates a connection that was established using the ConnectEvents method.

DisconnectEvents descendants use DisconnectEvents internally to terminate the connection established by ConnectEvents. If the DisconnectEvents descendant does not expose any server events, DisconnectEvents is not used.

The Obj parameter is an interface for the COM server that generates events.

See Also