Home > Contents > Index >
RESTOREPROPERTY
Sets the property file to the Sites property file (
futuretense.ini).Syntax
<RESTOREPROPERTY CLOSE="CLOSE_VAL"/>Parameters
CLOSE (required)- Whether to close the connection to a database opened using the current properties. Possible values are
trueorfalse.
- If
CLOSEis set totrueany open database connection specified by the current properties is closed before restoring the defaults. This invalidates any resultsets cached against that database. If access to those resultsets is required afterRESTOREPROPERTY,CLOSEshould be set to "false". This keeps the connection open and resultsets against the database available.
- Note that if the Sites property file
futuretense.iniis in effect, usingRESTOREPROPERTYwithCLOSE= "true" closes the database connection and deletes all existing variables. One might be tempted to do this if aLOADPROPERTYfails, but it should not be necessary.
Error Numbers
There are no possible
errnofor this tag.Example
This example loads the properties from
other.iniand queries a table in the database specified inother.ini. After using the resultset from the query, the original property file is restored and the connection to the database specified inother.iniis closed. The value of "numbers" is undefined after RESTOREPROPERTY.
<SETVARNAME="errno" VALUE="0"/> <LOADPROPERTYFILE="other.ini"/> <SELECTTOLIST="numbers" WHAT="*" FROM="NumberData"/> after select errno is: <CSVARNAME="Variables.errno"/> <RESTOREPROPERTY CLOSE="true"/>See Also
Home > Contents > Index > ![]()
Oracle XML Tag Reference
Copyright (c) 2013, Oracle and/or its affiliates. All rights reserved.