Click here to view and discuss this page in DocCommentXchange. In the future, you will be sent there automatically.
public java.util.Properties getProperties( )
基于此连接的脚本版本返回此连接的属性。属性存储在 ml_property 表中。
有关 java.util.Properties 的详细信息,请查阅 Java 软件开发工具包文档。
此连接的属性。
以下示例显示如何输出 DBConnectionContext 的属性。
此示例假定您拥有一个名为 _cc 的 DBConnectionContext 实例。
// 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()); }