RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TService.BeforeUninstall Event

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

Pascal
property BeforeUninstall: TServiceEvent;
C++
__property TServiceEvent BeforeUninstall;

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. 

 

Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!