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 » ServerContext interface


getPropertiesByVersion method

public java.util.Properties getPropertiesByVersion( java.lang.String script_version )

Returns the set of properties associated with the script version. These are stored in the MobiLink system table ml_property. The script version is stored in the property_set_name column when the component_name is ScriptVersion.

  • script_version   The script version for which to return associated properties.


The set of properties associated with the given script version.

See also

The following code lists all the ServerContext's Properties associated with a given script version.

import java.util.*;
// ServerContext serverContext;
// PrintStream out
Properties prop = serverContext.getPropertiesByVersion("MyScriptVersion");