All,
I need to connect to a seperate database, that I can't present up via my CS DB, so I've been looking at using $DBWizAPI.ConnectPkg.Connect to give me a connnection, and calling Disconnect afterwards, while reviewing the code, it looks like a few global variables - $LogFileLocal, $LogFile and $Connect - get set in that method. Thus :
1. Is this the best way to connect to a seperate DB ?
2. Should I cache these globals and repopulate after my call or do a full reconnect to the CS DB ?
3. Whats the impact of these variables ?