IDTSConnectionManager100 接口
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
提供用于管理与数据源连接的属性和方法。
public interface class IDTSConnectionManager100
[System.Runtime.InteropServices.Guid("6D9EBD9B-8087-4C5B-83BF-F48E7B095E9D")]
[System.Runtime.InteropServices.TypeLibType(System.Runtime.InteropServices.TypeLibTypeFlags.FDispatchable | System.Runtime.InteropServices.TypeLibTypeFlags.FDual)]
public interface IDTSConnectionManager100
[System.Runtime.InteropServices.TypeLibType(System.Runtime.InteropServices.TypeLibTypeFlags.FDispatchable | System.Runtime.InteropServices.TypeLibTypeFlags.FDual)]
[System.Runtime.InteropServices.Guid("8813EF03-2963-438F-9DEB-D44217A364FA")]
public interface IDTSConnectionManager100
[System.Runtime.InteropServices.TypeLibType(System.Runtime.InteropServices.TypeLibTypeFlags.FDispatchable | System.Runtime.InteropServices.TypeLibTypeFlags.FDual)]
[System.Runtime.InteropServices.Guid("1894EA50-AC9C-4797-88B4-018638E6AD93")]
public interface IDTSConnectionManager100
[<System.Runtime.InteropServices.Guid("6D9EBD9B-8087-4C5B-83BF-F48E7B095E9D")>]
[<System.Runtime.InteropServices.TypeLibType(System.Runtime.InteropServices.TypeLibTypeFlags.FDispatchable | System.Runtime.InteropServices.TypeLibTypeFlags.FDual)>]
type IDTSConnectionManager100 = interface
[<System.Runtime.InteropServices.TypeLibType(System.Runtime.InteropServices.TypeLibTypeFlags.FDispatchable | System.Runtime.InteropServices.TypeLibTypeFlags.FDual)>]
[<System.Runtime.InteropServices.Guid("8813EF03-2963-438F-9DEB-D44217A364FA")>]
type IDTSConnectionManager100 = interface
[<System.Runtime.InteropServices.TypeLibType(System.Runtime.InteropServices.TypeLibTypeFlags.FDispatchable | System.Runtime.InteropServices.TypeLibTypeFlags.FDual)>]
[<System.Runtime.InteropServices.Guid("1894EA50-AC9C-4797-88B4-018638E6AD93")>]
type IDTSConnectionManager100 = interface
Public Interface IDTSConnectionManager100
- 派生
- 属性
注解
有关详细信息,请参阅 ConnectionManager。
属性
| 名称 | 说明 |
|---|---|
| ConnectionString |
获取或设置用于建立与数据源连接的连接字符串。 |
| ProtectionLevel |
获取或设置对包中包含的敏感数据执行的加密级别。 |
| Scope |
它获得了连接管理器的范围。 |
| SupportsDTCTransactions |
获得一个布尔值,指示连接是否支持 Microsoft 分布式事务处理协调器(MS DTC)事务。 |
方法
| 名称 | 说明 |
|---|---|
| AcquireConnection(Object) |
创建连接类型的实例。 |
| ReleaseConnection(Object) |
释放在 期间 AcquireConnection(Object)建立的连接。 可以在设计时和运行时调用。 |
| SetQualifier(String) |
在连接管理器创建后但在运行包中使用之前,修改连接管理器中的限定符。 |
| Validate(IDTSInfoEvents100) |
验证连接并返回表示成功或失败的枚举。 |