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

SQL Anywhere 11.0.0 » MobiLink - Server Administration » MobiLink Server APIs » Writing synchronization scripts in Java » MobiLink server API for Java Reference » ServerContext interface

 

getPropertiesByVersion method

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

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.

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

Returns

The set of properties associated with the given script version.

See also
Example

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

include java.util.*;
// ServerContext serverContext;
// PrintStream out
Properties properties = serverContext.getPropertiesByVersion(
"MyScriptVersion");
Properties.list(out);