public java.lang.String getVersion( )
スクリプト・バージョン文字列を返します。
スクリプト・バージョン文字列
次の例は、スクリプト・バージョンを取得して、決定を行うために使用する方法を示します。
この例は、_cc という DBConnectionContext インスタンスがあることを前提としています。
// A method that uses the script version public void handleEvent() { // ... String version = _cc.getVersion(); if (version.equals("My Version 1")) { // ... } else if (version.equals("My Version 2")) { // ... } } // ... |
Copyright © 2009, iAnywhere Solutions, Inc. - SQL Anywhere 11.0.1 |