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

SQL Anywhere 11.0.1 » 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.

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