当它包含在SSIS中的连接管理器(.conmgr)文件的XML中时,DTS:Retain值执行什么功能? 测试连接使用此属性,但在选择目标表(OLEDB)时会返回错误(0xC0202040)
(DTS:保留=" True"):
<?xml version="1.0"?>
<DTS:ConnectionManager xmlns:DTS="www.microsoft.com/SqlServer/Dts"
DTS:ObjectName="My connection"
DTS:DTSID="{1e8fac80-da08-43b1-a7a0-25ae2a866631}"
DTS:CreationName="OLEDB">
<DTS:PropertyExpression
DTS:Name="ConnectionString">@[$Project::MyConnection]</DTS:PropertyExpression>
<DTS:ObjectData>
<DTS:ConnectionManager
DTS:Retain="True"
DTS:ConnectionString="Data Source=Server;Initial Catalog=Database;Provider=SQLNCLI11.1;Integrated Security=SSPI;Auto Translate=False;" />
</DTS:ObjectData>
</DTS:ConnectionManager>