public static void SetDBConn(string strRegion) { string strRegion1 = "QSMCONEGDS"; string strRunMode = "T"; InitRemoting.SetMail(); objMailAccess = InitRemoting.objMail; objMailAccess.SetDefaultMailTo(new ArrayList(arrDefaultMail)); InitRemoting.SetSqlClient(); objSQLAccess = InitRemoting.objSqlClient; objSQLAccess.SetDBConnection(strRegion1, strRunMode); objSQLAccess.CommandTimeout = 0; InitRemoting.SetFileAccess(); objFileAccess = InitRemoting.objFileAccess; }
public static void SetMailConn() { QCI.OF_Common.InitRemoting.SetMail(); objMailAccess = QCI.OF_Common.InitRemoting.objMail; }