RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TCOMAdminCatalog.ServiceCheck Method

Checks the status of a COM+ service.

Pascal
function ServiceCheck(lService: Integer): Integer;
C++
__fastcall int ServiceCheck(int lService);

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.  

 

Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
What do you think about this topic? Send feedback!