Show: Delphi C++
Display Preferences

Datasnap.DSServer.TDSServerClass.OnPrepare

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

property OnPrepare: TDSPrepareEvent read FPrepareEvent write FPrepareEvent;

C++

__property TDSPrepareEvent OnPrepare = {read=FPrepareEvent, write=FPrepareEvent};

Properties

Type Visibility Source Unit Parent
event published
Datasnap.DSServer.pas
Datasnap.DSServer.hpp
Datasnap.DSServer TDSServerClass

Description

Occurs when a server method is about to be prepared.

Use this method to be notified when a server method is about to be prepared. This event can be used as a recording mechanism or to prevent access to a server method. All server methods are prepared before they are invoked. If the implementation of this event handler throws an exception, the server method is not prepared or invoked.

See Also

Personal tools
In Other Languages
Previous Versions
Assistance