ICOMAdminCatalog::StopRouter method (comadmin.h)

Stops the component load balancing service if the service is currently installed.

Syntax

HRESULT StopRouter();

Return value

This method can return the standard return values E_INVALIDARG, E_OUTOFMEMORY, E_UNEXPECTED, and E_FAIL, as well as the following values.

Return code Description
S_OK
The method completed successfully.
COMADMIN_E_SERVICENOTINSTALLED
The component load balancing service is not currently installed on the computer.
COMADMIN_E_OBJECTERRORS
Errors occurred while accessing one or more objects.

Remarks

When called on a computer acting as the component load balancing (CLB) server, the StopRouter method stops the server from routing component activation requests to other servers in the application cluster.

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

See also

ICOMAdminCatalog