语言

ConnectionManagerHostClass 类

定义

表示连接管理器,连接到任务主机。

public ref class ConnectionManagerHostClass : Microsoft::SqlServer::Dts::Runtime::Wrapper::ConnectionManagerHost, Microsoft::SqlServer::Dts::Runtime::Wrapper::IDTSConnectionManager100, Microsoft::SqlServer::Dts::Runtime::Wrapper::IDTSObjectHost100
[System.Runtime.InteropServices.ClassInterface(System.Runtime.InteropServices.ClassInterfaceType.None)]
[System.Runtime.InteropServices.Guid("0E06FA4E-C1AA-4EB5-9251-6CE59300EDD9")]
[System.Runtime.InteropServices.TypeLibType(System.Runtime.InteropServices.TypeLibTypeFlags.FCanCreate)]
public class ConnectionManagerHostClass : Microsoft.SqlServer.Dts.Runtime.Wrapper.ConnectionManagerHost, Microsoft.SqlServer.Dts.Runtime.Wrapper.IDTSConnectionManager100, Microsoft.SqlServer.Dts.Runtime.Wrapper.IDTSObjectHost100
[System.Runtime.InteropServices.ClassInterface(System.Runtime.InteropServices.ClassInterfaceType.None)]
[System.Runtime.InteropServices.TypeLibType(System.Runtime.InteropServices.TypeLibTypeFlags.FCanCreate)]
[System.Runtime.InteropServices.Guid("C56B9432-0D62-4F6B-9843-6EEE5977A58F")]
public class ConnectionManagerHostClass : Microsoft.SqlServer.Dts.Runtime.Wrapper.ConnectionManagerHost, Microsoft.SqlServer.Dts.Runtime.Wrapper.IDTSConnectionManager100, Microsoft.SqlServer.Dts.Runtime.Wrapper.IDTSObjectHost100
[System.Runtime.InteropServices.ClassInterface(System.Runtime.InteropServices.ClassInterfaceType.None)]
[System.Runtime.InteropServices.TypeLibType(System.Runtime.InteropServices.TypeLibTypeFlags.FCanCreate)]
[System.Runtime.InteropServices.Guid("B3D2C3B7-1782-41D5-BC77-7FCE63B9C8AE")]
public class ConnectionManagerHostClass : Microsoft.SqlServer.Dts.Runtime.Wrapper.ConnectionManagerHost, Microsoft.SqlServer.Dts.Runtime.Wrapper.IDTSConnectionManager100, Microsoft.SqlServer.Dts.Runtime.Wrapper.IDTSObjectHost100
[<System.Runtime.InteropServices.ClassInterface(System.Runtime.InteropServices.ClassInterfaceType.None)>]
[<System.Runtime.InteropServices.Guid("0E06FA4E-C1AA-4EB5-9251-6CE59300EDD9")>]
[<System.Runtime.InteropServices.TypeLibType(System.Runtime.InteropServices.TypeLibTypeFlags.FCanCreate)>]
type ConnectionManagerHostClass = class
    interface ConnectionManagerHost
    interface IDTSName100
    interface IDTSObjectHost100
    interface IDTSConnectionManager100
[<System.Runtime.InteropServices.ClassInterface(System.Runtime.InteropServices.ClassInterfaceType.None)>]
[<System.Runtime.InteropServices.TypeLibType(System.Runtime.InteropServices.TypeLibTypeFlags.FCanCreate)>]
[<System.Runtime.InteropServices.Guid("C56B9432-0D62-4F6B-9843-6EEE5977A58F")>]
type ConnectionManagerHostClass = class
    interface ConnectionManagerHost
    interface IDTSName100
    interface IDTSObjectHost100
    interface IDTSConnectionManager100
[<System.Runtime.InteropServices.ClassInterface(System.Runtime.InteropServices.ClassInterfaceType.None)>]
[<System.Runtime.InteropServices.TypeLibType(System.Runtime.InteropServices.TypeLibTypeFlags.FCanCreate)>]
[<System.Runtime.InteropServices.Guid("B3D2C3B7-1782-41D5-BC77-7FCE63B9C8AE")>]
type ConnectionManagerHostClass = class
    interface ConnectionManagerHost
    interface IDTSName100
    interface IDTSObjectHost100
    interface IDTSConnectionManager100
Public Class ConnectionManagerHostClass
Implements ConnectionManagerHost, IDTSConnectionManager100, IDTSObjectHost100
继承
ConnectionManagerHostClass
属性
实现

注解

有关详细信息,请参阅 ConnectionManager

构造函数

名称 说明
ConnectionManagerHostClass()

初始化 ConnectionManagerHostClass 类的新实例。

属性

名称 说明
ConnectionString

获取或设置用于建立与数据源连接的连接字符串。

CreationName

获取运行时用来创建该对象实例 ConnectionManagerHostClass 的字符串。 此属性为只读。

DelayValidation

获取或设置一个布尔值,指示包验证是否延迟到包运行。

Description

获取或设置对象的 ConnectionManagerHostClass 描述。

HostType

获得一个枚举,描述连接所使用的主机类型。 此属性为只读。

ID

获取 ConnectionManagerHostClass. 此属性为只读。

InnerObject

获取创建的特定连接类型。 此属性为只读。

Name

获取或设置对象的名称 ConnectionManagerHostClass

ProtectionLevel

获取或设置对包中包含的敏感数据执行的加密级别。

Scope

它获得了连接管理器的范围。

SupportsDTCTransactions

返回一个布尔值,指示连接是否支持 Microsoft 分布式事务处理协调器(MS DTC)事务。

方法

名称 说明
AcquireConnection(Object)

创建连接类型的实例。

ReleaseConnection(Object)

释放在 期间 AcquireConnection(Object)建立的连接。 在设计时和运行时调用。

SetQualifier(String)

在连接管理器创建后但在运行包中使用之前,修改连接管理器中的限定符。

Validate(IDTSInfoEvents100)

验证连接并返回表示成功或失败的枚举。

适用于