Try OpenEdge Now
skip to main content
Java Open Clients
Accessing Proxy Properties : Accessing properties with methods : General property accessor methods for Connection objects : Set property methods
 
Set property methods
public void setStringProperty(String propName, String propValue)
public void setIntProperty(String propName, int propValue)
public void setLongProperty(String propName, long propValue)
public void setBooleanProperty(String propName, boolean propValue)
propName
The property name. This can be any of the properties listed in the tables in Available properties.
propValue
The value for the property name.
For example, to set the PROGRESS.Session.initialConnections property to 5, use the following method to set an integer property:
ConnectObj.setIntProperty("PROGRESS.Session.initialConnections",5);
Where ConnectObj is an instance of the com.progress.open4gl.proxy.Connection class.