Try OpenEdge Now
skip to main content
.NET Open Clients
Using the Open Client .NET OpenAPI to Directly Access the AppServer : Running procedures and user-defined functions : Running an internal procedure or user-defined function on an OpenProcObject
 

Running an internal procedure or user-defined function on an OpenProcObject

Once you obtain your Progress.Open4GL.Proxy.OpenProcObject instance, you can run any internal procedure or user-defined function defined in the object. However, if you are calling a user-defined function, you must identify the return type of the function before calling it. For more information, see Defining the return type for a user-defined function. For information on accessing the return value after calling the function, see Accessing user-defined function return values.
Run the internal procedure or user-defined function using the following method on the OpenProcObject:

Syntax

public void RunProc(string procName, ParamArray paramArray)
procName
The name of an internal procedure or user-defined function provided by the OpenProcObject.
paramArray
Specifies a Progress.Open4GL.Proxy.ParamArray that holds the parameters for the internal procedure or user-defined function. For more information, see Settingup a parameter array.