Click here to view and discuss this page in DocCommentXchange. In the future, you will be sent there automatically.
返回与此脚本版本关联的一组属性。
Properties ServerContext.getPropertiesByVersion(String script_version)
script_version 要为其返回关联属性的脚本版本。
与给定脚本版本关联的一组属性。
这些属性存储在 [ml_property] 系统表中。当 [component_name] 为 [ScriptVersion] 时,脚本版本存储在 [property_set_name] 列中。有关详细信息,请参见ml_add_property 系统过程。
以下示例说明如何列出与给定脚本版本相关联的 [ServerContext] 实例的所有属性:
import java.util.*; ServerContext serverContext; PrintStream out Properties prop = serverContext.getPropertiesByVersion("MyScriptVersion"); prop.list(out);