ImportObjectsEx2 method
- Last UpdatedJul 23, 2024
- 1 minute read
Imports one or more of the objects contained in an aaPDF or aaPKG file into the Galaxy Repository.
Class
IGalaxy
Syntax
[C#]
void ImportObjectsEx2
(
string inputFile,
ArchestrA.GRAccess.E_RESOLVE_VERSION_CONFLICT_ACTION versionMismatchPreference, ArchestrA.GRAccess.E_RESOLVE_NAME_CONFLICT_ACTION nameConflictPreference,
string appendToObjectName, ArchestrA.GRAccess.E_RESOLVE_PROTECTION_CONFLICT_ACTION eProtectionConflict
);
[Visual C++]
HRESULT ImportObjectsEx2
(
[in] BSTR inputFile,
[in] E_RESOLVE_VERSION_CONFLICT_ACTION versionMismatchPreference,
[in] E_RESOLVE_NAME_CONFLICT_ACTION nameConflictPreference,
[in] BSTR appendToObjectName,
[in] E_RESOLVE_PROTECTION_CONFLICT_ACTION eProtectionConflict
);
Parameters
inputFile
Name of the file to be imported. The file can be PDF or .csv format.
Returns:
S_OK: Import successful
E_UNEXPECTED: The IImportExport file content is not formatted as aaPDF or aaPKG content. See Notes, below.
E_FAIL: Unable to add objects to the Galaxy Repository
Notes
E_RESOLVE_PROTECTION_CONFLICT_ACTION eProtectionConflict is supported for handling protection conflicts.
The System Platform IDE gets a reference to IImportExport by calling the GetIImportExport() method on IGalaxyConfiguration.