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

 

getProperties method

Syntax
public java.util.Properties getProperties(
   java.lang.String component,
   java.lang.String set )
Remarks

Returns the set of properties associated with a given component and property set. These are stored in the MobiLink system table ml_property.

Parameters
  • component   The component.

  • set   The property set.

Returns

The set of properties, which may be empty.

See also
Example

The following code lists all the ServerContext's Properties.

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