RunUnitProgramOrClass Constructor (ProgramOrClass, String, RunUnitStartupOptions)

MicroFocus.COBOL.RuntimeServices
Creates a RunUnit with a specific program or class and adds it to the rununit.

Namespace:  MicroFocus.COBOL.RuntimeServices.Generic
Assembly:  MicroFocus.COBOL.RuntimeServices (in MicroFocus.COBOL.RuntimeServices.dll) Version: 1.2.3.4
Syntax

public RunUnit(
	ProgramOrClass program,
	string sessionName = "",
	RunUnitStartupOptions options = RunUnitStartupOptions.None
)

Parameters

program
Type: ProgramOrClass
sessionName (Optional)
Type: SystemString
options (Optional)
Type: MicroFocus.COBOL.RuntimeServicesRunUnitStartupOptions
See Also

Reference