Vcl.SvcMgr.TService.AllowStop

Aus RAD Studio API Documentation
Wechseln zu: Navigation, Suche

Delphi

property AllowStop: Boolean read FAllowStop write FAllowStop default True;

C++

__property bool AllowStop = {read=FAllowStop, write=FAllowStop, default=1};

Eigenschaften

Typ Sichtbarkeit Quelle Unit Übergeordnet
property published
Vcl.SvcMgr.pas
Vcl.SvcMgr.hpp
Vcl.SvcMgr TService

Beschreibung

Legt fest, ob Clients den Dienst anhalten können.

Mit AllowStop wird festgelegt, ob die Clients des Dienstes diesen durch einen Aufruf der Windows-API-Funktion ControlService anhalten können. Wenn AllowStop den Wert true hat, wird vor dem Anhalten des Dienstes ein OnStop-Ereignis ausgelöst.

Siehe auch