Click here to view and discuss this page in DocCommentXchange. In the future, you will be sent there automatically.

SQL Anywhere 11.0.1 (Français) » MobiLink - Server Administration » MobiLink Server APIs » Writing synchronization scripts in Java » MobiLink server API for Java reference » DBConnectionContext interface

 

getProperties method

Syntax
public java.util.Properties getProperties( )
Remarks

Returns the properties for this connection, based on this connection's script version. Properties are stored in the ml_property table.

Consult your Java SDK documentation for more information about java.util.Properties.

Returns

The properties for this connection.

See also
Example

The following example shows you how to output the properties for a DBConnectionContext.

Note

This example assumes you have a DBConnectionContext instance called _cc.

// The method used to output the connection properties.
public void outputProperties() {
    // output the Properties for the current synchronization
    java.util.Properties properties = _cc.getProperties();
    System.out.println(properties.toString());
}