SSIS add Oracle Data Provider for .Net

ConnMgr = Dts.Connections(“support.laganprod2″)
            ConnStr = ConnMgr.ConnectionString
            Dts.Events.FireInformation(1, “”, “Connection string = ” + ConnStr, “”, 0, True)
            Try
                conn1 = DirectCast(ConnMgr.AcquireConnection(Nothing), OracleConnection)
                Dts.Events.FireInformation(1, “”, “Connection acquired successfully on ” + ConnMgr.Name, “”, 0, False)
            Catch ex As Exception
                Dts.Events.FireError(-1, “”, “Connection failed on ” + ConnMgr.Name, “”, 0)
                bFailure = True
            End Try

Advertisement

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Connecting to %s

Follow

Get every new post delivered to your Inbox.