AMT Help Files
homeAMT Developer StudioCode ManagementLionRepository ModuleInterfacesILionReposImport

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.
AsAppName String

Example

PowerShell

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

Contents

 Go to top