ICOMAdminCatalog::ShutdownApplication method (comadmin.h)

Initiates shutdown of a COM+ server application process.

Syntax

HRESULT ShutdownApplication(
  [in] BSTR bstrApplIDOrName
);

Parameters

[in] bstrApplIDOrName

The GUID or name of the application.

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_OBJECT_DOES_NOT_EXIST
The application does not exist.

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