Vcl.CmAdmCtl.TCOMAdminCatalog.ServiceCheck
Delphi
function ServiceCheck(lService: Integer): Integer;
C++
int __fastcall ServiceCheck(int lService);
Properties
| Type | Visibility | Source | Unit | Parent |
|---|---|---|---|---|
| function | public | Vcl.CmAdmCtl.pas Vcl.CmAdmCtl.hpp |
Vcl.CmAdmCtl | TCOMAdminCatalog |
Description
Checks the status of a COM+ service.
Call ServiceCheck to check the status of the service specified by lService. A value of 1 specifies the Component Load Balancing service. At present, TCOMAdminCatalog does not support any other services.
SericeCheck returns one of the following values:
| Value | Meaning |
|---|---|
|
0 |
Service is currently stopped. |
|
1 |
Service is due to start up. |
|
2 |
Service is due to stop. |
|
3 |
Service is running normally. |
|
4 |
Service is due to continue. |
|
5 |
Service is due to pause. |
|
6 |
Service is currently paused. |
|
7 |
Service status is unknown. |