【问题标题】:What is the OLEDB destination table name?OLEDB 目标表名称是什么?
【发布时间】:2016-01-21 07:26:43
【问题描述】:

请查看以下链接中的代码:https://msdn.microsoft.com/en-us/library/ms136020.aspx

它涉及添加一个数据流,其中包含一个 OLEDB 数据源和 OLEDB 目标。如何指定 OLEDB 目标的表名?我看不到在 OLEDB 目标对象上调用 SetComponentProperty 的位置。

【问题讨论】:

  • 网站上似乎有遗漏。

标签: vb.net ssis oledb


【解决方案1】:

这是在 VB.net 中设置 OLEDB 目标表名的方法

destDesignTime.SetComponentProperty("AccessMode", 3)
destDesignTime.SetComponentProperty("OpenRowset", "Production.Product")

这是 C# 版本。

destDesignTime.SetComponentProperty("AccessMode", 3);
destDesignTime.SetComponentProperty("OpenRowset", "Production.Product");

【讨论】:

猜你喜欢
  • 1970-01-01
  • 2015-08-12
  • 2011-01-04
  • 2014-06-14
  • 2016-09-18
  • 2015-03-09
  • 1970-01-01
  • 1970-01-01
相关资源
最近更新 更多