Vcl.SvcMgr.TService.BeforeUninstall

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

property BeforeUninstall: TServiceEvent read FBeforeUninstall write FBeforeUninstall;

C++

__property TServiceEvent BeforeUninstall = {read=FBeforeUninstall, write=FBeforeUninstall};

Properties

Type Visibility Source Unit Parent
event published
Vcl.SvcMgr.pas
Vcl.SvcMgr.hpp
Vcl.SvcMgr TService

Description

Occurs immediately before the service is removed from the Service Control manager's database.

Write a BeforeUninstall event handler to take specific action immediately before the service is removed. Uninstall services by running the service application with the UNINSTALL switch.

See Also