Relationship between RunTimeProperties and Connection objects
- Last Updated: March 30, 2020
- 1 minute read
- OpenEdge
- Version 12.2
- Documentation
The values set in a Connection object supersede
the static RunTimeProperties values. This relationship
is particularly important if a static RunTimeProperties object
is updated after a Connection object has been instantiated.
In this situation, the effect on a Connection object
instance depends on whether that specific property was overridden
in that object after it was instantiated, as described in the following
table.
| If the RunTimeProperties property has . . . | And the property in the Connection object has . . . | Then the value of the property is returned from the . . . |
|---|---|---|
| Not changed | Not changed | RunTimeProperties class |
| Changed | Not changed | RunTimeProperties class |
| Not changed | Changed | Connection object |
| Changed | Changed | Connection object |
Note: The converse of this relationship is not true.
That is, changing the value of a property for a
Connection object
does not affect the static value of that property, nor does it affect
the value of that property in any other object instance.The following example uses the WaitifBusy property
to illustrate the relationship between RunTimeProperties and Connection object
properties:
|
When executed, this program prints the following result:
|