Vcl.SvcMgr.TServiceApplication.RegisterServices

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

procedure RegisterServices(Install, Silent: Boolean);

C++

void __fastcall RegisterServices(bool Install, bool Silent);

Properties

Type Visibility Source Unit Parent
procedure
function
protected
Vcl.SvcMgr.pas
Vcl.SvcMgr.hpp
Vcl.SvcMgr TServiceApplication

Description

Installs or uninstalls all the services in the service application.

Call RegisterServices to install or uninstall all the services in the service application.

If the Install parameter is set to True, RegisterServices installs all the services. If Install is set to False, all services are uninstalled.

Setting Silent to False causes a confirmation dialog to appear when finishing installing or uninstalling the services. If Silent is set to True, no confirmation dialog is displayed.