ICOMAdminCatalog2::PauseApplicationInstances method (comadmin.h)

Pauses the specified application server processes.

Syntax

HRESULT PauseApplicationInstances(
  [in] VARIANT *pVarApplicationInstanceID
);

Parameters

[in] pVarApplicationInstanceID

The application instances to be paused. Each element of the Variant may be a String containing an application instance GUID (for example, as returned by the GetApplicationInstanceIDFromProcessID method), a single catalog object, or a catalog collection (for example, as returned by the GetCollectionByQuery2 method).

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.
COMADIN_E_OBJECT_DOES_NOT_EXIST
A specified application instance does not exist.

Requirements

Requirement Value
Minimum supported client Windows XP [desktop apps only]
Minimum supported server Windows Server 2003 [desktop apps only]
Target Platform Windows
Header comadmin.h

See also

ICOMAdminCatalog2