Vcl.SvcMgr.TService.AfterUninstall
Delphi
property AfterUninstall: TServiceEvent read FAfterUninstall write FAfterUninstall;
C++
__property TServiceEvent AfterUninstall = {read=FAfterUninstall, write=FAfterUninstall};
Properties
| Type | Visibility | Source | Unit | Parent |
|---|---|---|---|---|
| event | published | Vcl.SvcMgr.pas Vcl.SvcMgr.hpp |
Vcl.SvcMgr | TService |
Description
Occurs immediately after the service is removed from the Service Control manager's database.
Write an AfterUninstall event handler to take specific action immediately after the service is removed. Uninstall services by running the service application with the UNINSTALL switch.