AMT Help Files

ILionRevision

This section details the functions and properties of the AMT-COBOL Repository Module Revision interface.

Properties

Name   Type   Access   Description  
CheckInDate  Integer Read only  Returns the local date of the check-in of this revision in the format ccyymmdd.
CheckInTime Integer Read only Returns the local time of the check-in of this revision in the format hhmmssfff.
Deleted  Boolean  Read only  Returns true if the revision is deleted.
LockedBooleanRead onlyReturns true if the revision is locked. 
Revision  String  Read only  Returns the revision id of the object e.g. "1.4.5.2".  

Example

C#


ILionObject report = app.GetLionObject("REPORTTIME", LionObjectType.ReportUser);
ILionRevision
rev2 = report.GetRevision("1.3");
Log("Single revision: " + rev2.Revision);


PowerShell


$O_Report = $O_App.GetLionObject("REPORTTIME", 208)

$O_Rev2 = $O_Report.GetRevision("1.3")

Write-Host("Single revision: " + $O_Rev2.Revision)