从 SSIS 脚本任务调用 C# 程序集 [英] Calling C# Assembly from SSIS Script Task

查看:31
本文介绍了从 SSIS 脚本任务调用 C# 程序集的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我找到了这篇文章(如下所示),但这些文章中描述的方法不适用于使用目标框架 4.0 编译的 DLL!

I've found this articles (liks below) but method which is described in those articles doesn't work for DLL which was compiled with target framework 4.0!

文章:http://oassaf.wordpress.com/2007/05/24/calling-c-assembly-from-ssis-script-task/http://www.codeproject.com/KB/database/SSIS_Call.aspxhttp://blogs.msdn.com/b/michen/archive/2007/04/22/com-references-within-an-ssis-script-component.aspx

有什么想法吗?

版本:SSIS 2008 R2

version: SSIS 2008 R2

推荐答案

我建议将您的 4.0 组件托管在 IIS 7 或自定义 Windows 服务中,并通过 WCF 公开它.

I would suggest hosting your 4.0 component in IIS 7 or a custom windows service and exposing it via WCF.

这篇关于从 SSIS 脚本任务调用 C# 程序集的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆