ColdFusion code to find the datasources in the server

<cfscript>
adminObj = createObject("component","cfide.adminapi.administrator");

createObject("component","cfide.adminapi.administrator").login("CF admin password");
myObj = createObject("component","cfide.adminapi.datasource");
</cfscript>
<cfdump var="#myObj.getDatasources()#">

Comments

Popular posts from this blog

how to add new line in google form questions | Fix for next line issue in google form questions

How to add new line in dropdown type question in google forms