ICOMAdminCatalog2::DeleteServiceForApplication method (comadmin.h)

Deletes the Windows service associated with the specified COM+ application.

Syntax

HRESULT DeleteServiceForApplication(
  [in] BSTR bstrApplicationIDOrName
);

Parameters

[in] bstrApplicationIDOrName

The application ID or name of the COM+ application to be deleted.

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 XP [desktop apps only]
Minimum supported server Windows Server 2003 [desktop apps only]
Target Platform Windows
Header comadmin.h

See also

ICOMAdminCatalog2