Name

CFusion_GetODBCDSN

Synopsis

CFusion_GetODBCDSN( )

Used in place of the cfregistry tag on Unix-based ColdFusion servers to return the names of ODBC data sources stored in the “registry.” This is an undocumented function used by the ColdFusion Administrator. Example:

<cfset TheDataSourceNames = CFusion_GetODBCDSN( )>
   
<table>
  <tr><th>Name</th><th>Description</th><tr>
  <cfoutput query="TheDataSourceNames">
  <tr><td>#Name#</td><td>#Description#</td></tr>
  </cfoutput>
</table>

Get Programming ColdFusion MX, 2nd Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.