Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Which 2 arguments are needed for CFUSION_DISABLE_DBConnections() ???

Status
Not open for further replies.

hautnueil

Programmer
Feb 21, 2002
25
0
0
US
The function cfusion_disable_dbconnections takes 2 arguments(s).

Can anyone please tell me what they are.
My book says this function is undocumented.

Thanks in advance.
 
I found this example here:
CFUSION_DISABLE_DBCONNECTIONS (datasource;"0/1") -- Disables and enables an individual data source specified by datasource.

Example
The following line disables the data source named cfmysource:

<cfset rc=cfusion_disable_dbconnections("cfmysource","1")>

The following lin enables the data source named cfmysource:

<cfset rc=cfusion_disable_dbconnections("cfmysource","0")>



Hope This Helps!

Ecobb

&quot;My work is a game, a very serious game.&quot; - M.C. Escher
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top