Gets a bool to show if the rununit is active or not.
Namespace:
MicroFocus.COBOL.RuntimeServices
Assembly:
MicroFocus.COBOL.RuntimeServices (in MicroFocus.COBOL.RuntimeServices.dll) Version: 1.2.3.4
[EditorBrowsableAttribute(EditorBrowsableState.Never)]
public bool Active { get; }
<EditorBrowsableAttribute(EditorBrowsableState.Never)>
Public ReadOnly Property Active As Boolean
Get
public:
[EditorBrowsableAttribute(EditorBrowsableState::Never)]
virtual property bool Active {
bool get () sealed;
}
[<EditorBrowsableAttribute(EditorBrowsableState.Never)>]
abstract Active : bool with get
[<EditorBrowsableAttribute(EditorBrowsableState.Never)>]
override Active : bool with get
Property Value
Type:
BooleanImplements
IRunUnitActive
Console.WriteLine(myRunUnit.DiagnosticStatus);
Console.WriteLine("The run unit is " + (myRunUnit.Active ? "active" : "ended"));
myRunUnit.StopRun();
Console.WriteLine("The run unit is " + (myRunUnit.Active ? "active" : "ended"));
Console.WriteLine(myRunUnit.DiagnosticStatus);
Console.WriteLine(myRunUnit);
Console.WriteLine(myRunUnit.DiagnosticStatus)
Console.WriteLine("The run unit is " + If(myRunUnit.Active, "active", "ended"))
myRunUnit.StopRun()
Console.WriteLine("The run unit is " + If(myRunUnit.Active, "active", "ended"))
Console.WriteLine(myRunUnit.DiagnosticStatus)
Console.WriteLine(myRunUnit)
No code example is currently available or this language may not be supported.
No code example is currently available or this language may not be supported.
Reference