Run a single-run or singleton procedure (OpenProcObject) on an OpenAppObject
- Last Updated: March 30, 2020
- 1 minute read
- OpenEdge
- Version 12.2
- Documentation
Run a single-run or singleton procedure (OpenProcObject) on an OpenAppObject
You can run a procedure with no parameters in the main block as single-run,
singleton, or persistent on the connected application server using the following method on the
OpenAppObject:
Syntax
|
- procName
-
Specifies the name of the procedure to run, including any path relative to the
PROPATHsetting for the application server. - procType
-
A .NET enum type that specifies the procedure as persistent (
ProcedureType.Persistent), single-run (ProcedureType.SingleRun), or singleton (ProcedureType.Singleton).This method returns a
Progress.open4gl.Proxy.OpenProcObject, which you can use to run internal procedures and user-defined functions provided by the procedure.
The OpenProcObject also contains the public property ProcedureType,
which holds a value of Persistent, SingleRun,
or Singleton, depending on the procedure type of
the object: