Created
March 5, 2012 08:55
-
-
Save 65/1977530 to your computer and use it in GitHub Desktop.
create coldfusion DSN via admin API
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
stDSN.driver = "MSSQLServer"; | |
stDSN.name= "DBDSN"; | |
stDSN.host = "192.168.101.109"; | |
stDSN.port = "1433"; | |
stDSN.selectmethod = "direct"; | |
stDSN.database = "DBDSN"; | |
stDSN.username = "DBUsername"; | |
stDSN.password = "DBPassword"; | |
// now create | |
dsObj.setMSSQL(argumentCollection=stDSN); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment