ITcArchiveImportExport::ExportArchive2
Like ExportArchive, but it exports only the selection of child items that is explicitly passed to it.
Signature
HRESULT ExportArchive2(BSTR bstrFile, ITcTreeItemCollection* pChilds, VARIANT vInfo);
Parameter
Name | Type | Description |
|---|---|---|
bstrFile | BSTR | [in] Target path of the archive file. |
pChilds | [in, defaultvalue(NULL)] Selection of the children to be exported (see ITcTreeItemCollection). | |
vInfo | VARIANT | [in, optional] Additional export information. |
Return value
Name | Type | Description |
|---|---|---|
(HRESULT) | HRESULT |
|
Error codes
-
E_NOTIMPL: not supported on simple Tree Items. -
TSM_E_ITEMDELETED: The referenced Tree Item is no longer valid.