Vcl.SvcMgr.TService.AllowStop
Delphi
property AllowStop: Boolean read FAllowStop write FAllowStop default True;
C++
__property bool AllowStop = {read=FAllowStop, write=FAllowStop, default=1};
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
property | published | Vcl.SvcMgr.pas Vcl.SvcMgr.hpp |
Vcl.SvcMgr | TService |
Description
Indicates whether clients are allowed to stop the service.
AllowStop indicates whether clients of the service can stop it by calling the Windows API ControlService function. When AllowStop is true, an OnStop event occurs before the service stops.