public java.lang.String getVersion( )
Returns the script version string.
The script version string.
The following example shows you how to get the script version and use it to make decisions.
This example assumes you have a DBConnectionContext instance called _cc.
// 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")) { // ... } } // ... |
Discuss this page in DocCommentXchange. Send feedback about this page using email. |
Copyright © 2009, iAnywhere Solutions, Inc. - SQL Anywhere 11.0.1 |