Vcl.SvcMgr.TService.AllowStop

De RAD Studio API Documentation
Aller à : navigation, rechercher

Delphi

property AllowStop: Boolean read FAllowStop write FAllowStop default True;

C++

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

Propriétés

Type Visibilité  Source Unité  Parent
property published
Vcl.SvcMgr.pas
Vcl.SvcMgr.hpp
Vcl.SvcMgr TService

Description

Indique si les clients ont le droit d'interrompre le service.

AllowStop indique si les clients du service peuvent l'interrompre en appelant la fonction ControlService de l'API Windows. Si AllowStop a la valeur true, un événement OnStop se produit avant l'arrêt du service.

Voir aussi