Datasnap.DataBkr.TRemoteDataModule.UpdateRegistry
Delphi
class procedure UpdateRegistry(Register: Boolean; const ClassID, ProgID: string); override;
C++
__classmethod virtual void __fastcall UpdateRegistry(bool Register, const System::UnicodeString ClassID, const System::UnicodeString ProgID);
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
procedure function |
protected | Datasnap.DataBkr.pas Datasnap.DataBkr.hpp |
Datasnap.DataBkr | TRemoteDataModule |
Description
Registers the remote data module in the system registry as an automation server.
The protected UpdateRegistry is called automatically when you register or unregister the application server as an automation server.
The Register parameter is true when registering an application server, false when unregistering it.
The ClassID and ProgID parameters specify the server's ClassID and ProgID respectively.
Note: If your application server pools remote data modules, you must override this method to call the global RegisterPooled procedure when the Register parameter is true, and UnregisterPooled when the Register parameter is false.
See Also