ICOMAdminCatalog::ServiceCheck method (comadmin.h)
Retrieves the current status of the specified COM+ service.
Syntax
HRESULT ServiceCheck(
[in] long lService,
[out, retval] long *plStatus
);
Parameters
[in] lService
The service for which status is to be checked. This parameter can be COMAdminServiceLoadBalanceRouter (1) to check the component load balancing service.
[out, retval] plStatus
The status for the specified service.
Return value
This method can return the standard return values E_INVALIDARG, E_OUTOFMEMORY, E_UNEXPECTED, E_FAIL, and S_OK.
Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows 2000 Professional [desktop apps only] |
Minimum supported server | Windows 2000 Server [desktop apps only] |
Target Platform | Windows |
Header | comadmin.h |