AMT Help Files

ILionReposImport

This section details the functions and properties of the AMT Repository Module Import interface

Functions

 Function Name Return Type Parameters Description
Name Type
ImportFile void FileName String Imports AMT objects from a specified LionSource file into the specified application.
ApplicationName String

 

Examples

PowerShell

try {
$import = $O_Module.GetReposImport()
$import.ImportFile("C:\AMT\MyFile.LionSource", "ExampleProgram")
} catch [System.Exception] {
"An error occurred"
}