ICOMAdminCatalog2::CopyApplications method (comadmin.h)

Copies the specified COM+ applications from one partition to another.

Syntax

HRESULT CopyApplications(
  [in] BSTR    bstrSourcePartitionIDOrName,
  [in] VARIANT *pVarApplicationID,
  [in] BSTR    bstrDestinationPartitionIDOrName
);

Parameters

[in] bstrSourcePartitionIDOrName

The partition GUID or the name of the source partition.

[in] pVarApplicationID

The applications to be copied. Each element of the Variant may be a String containing an application name or ID, a single catalog object, or a catalog collection (as returned, for example, by the GetCollectionByQuery2 method).

[in] bstrDestinationPartitionIDOrName

The partition GUID or the name of the destination partition.

Return value

This method can return the standard return values E_INVALIDARG, E_OUTOFMEMORY, E_UNEXPECTED, E_FAIL, and S_OK.

Requirements

   
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