Data.DB.TCustomConnection.UnRegisterClient

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

procedure UnRegisterClient(Client: TObject); virtual;

C++

virtual void __fastcall UnRegisterClient(System::TObject* Client);

Properties

Type Visibility Source Unit Parent
procedure
function
protected
Data.DB.pas
Data.DB.hpp
Data.DB TCustomConnection

Description

Removes a registered client so that it is no longer associated with the connection component.

UnRegisterClient is used internally to remove objects from the internal list of objects that are informed when a connection is created or terminated.

Client is the object that is removed from the list. It should be an object that was previously registered by a call to RegisterClient. If Client is a dataset, it is removed from the DataSets property list.

Datasets call this method when they stop using the connection component. For ADO datasets and dbExpress datasets, this is when they are deactivated. For client datasets, this is when the RemoteServer property is changed.

See Also