ICOMAdminCatalog2::ImportUnconfiguredComponents method (comadmin.h)
Imports the specified classes into a COM+ application as unconfigured components.
Syntax
HRESULT ImportUnconfiguredComponents(
[in] BSTR bstrApplicationIDOrName,
[in] VARIANT *pVarCLSIDOrProgID,
[in, optional] VARIANT *pVarComponentType
);
Parameters
[in] bstrApplicationIDOrName
The application ID or name of the application into which the components are to be imported.
[in] pVarCLSIDOrProgID
The unconfigured components to be imported. Each element of the Variant may be a String containing a class ID or program ID, a single catalog object, or a catalog collection (for example, as returned by the GetCollectionByQuery2 method).
[in, optional] pVarComponentType
The bitnes of each component. This parameter can be one of the following values. If this parameter is omitted, the native bitness of the computer is assumed.
Value | Meaning |
---|---|
|
Uses a 32-bit format. |
|
Uses a 64-bit format. |
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 |