ConnectionManagerBase 类
Represents the abstract base class for connection managers.
继承层次结构
System.Object
Microsoft.SqlServer.Dts.Runtime.DtsObject
Microsoft.SqlServer.Dts.Runtime.ConnectionManagerBase
Microsoft.SqlServer.Dts.ManagedConnections.MSMQConn
Microsoft.SqlServer.Dts.ManagedConnections.SMOServerConn
Microsoft.SqlServer.Dts.ManagedConnections.SMTPConn
Microsoft.SqlServer.Dts.ManagedConnections.WMIConn
命名空间: Microsoft.SqlServer.Dts.Runtime
程序集: Microsoft.SqlServer.ManagedDTS(在 Microsoft.SqlServer.ManagedDTS.dll 中)
语法
声明
Public MustInherit Class ConnectionManagerBase _
Inherits DtsObject
用法
Dim instance As ConnectionManagerBase
public abstract class ConnectionManagerBase : DtsObject
public ref class ConnectionManagerBase abstract : public DtsObject
[<AbstractClassAttribute>]
type ConnectionManagerBase =
class
inherit DtsObject
end
public abstract class ConnectionManagerBase extends DtsObject
ConnectionManagerBase 类型公开以下成员。
构造函数
名称 | 说明 | |
---|---|---|
ConnectionManagerBase | Initializes a new instance of the ConnectionManagerBase class. |
页首
属性
名称 | 说明 | |
---|---|---|
ConnectionString | Gets or sets the connection string for the connection. | |
ProtectionLevel | Gets or sets a value, by using the DTSProtectionLevel enumeration, that enforces how the connection controls sensitive information. | |
Scope | Gets the DTS connection manager scope for this ConnectionManagerBase object. | |
SupportsDTCTransactions | Returns a Boolean that indicates if the connection supports Microsoft Distributed Transaction Coordinator (MS DTC) transactions. | |
Version | Returns the version of this connection manager. |
页首
方法
名称 | 说明 | |
---|---|---|
AcquireConnection | Creates an instance of the connection type. | |
CanUpdate | Gets or sets a Boolean that determines whether a connection manager supports upgrading the connection XML to a newer version. | |
Equals | Determines whether two object instances are equal. (从 DtsObject 继承。) | |
Finalize | (从 Object 继承。) | |
GetHashCode | Returns the hash code for this instance. (从 DtsObject 继承。) | |
GetType | (从 Object 继承。) | |
MemberwiseClone | (从 Object 继承。) | |
ReleaseConnection | Frees the connection established during AcquireConnection. Called at design time and run time. | |
SetQualifier | Changes a qualifier on the connection manager after the connection manager has been created, but before it is run. | |
ToString | (从 Object 继承。) | |
Update | Updates the XML persisted by a previous version of the connection manager. | |
Validate | Validates the connection and returns an enumeration that indicates success or failure. |
页首
注释
You create a managed connection manager by deriving a managed class from the ConnectionManagerBase, and then marking it with DtsConnectionAttribute attribute.
When creating a managed connection manager, you must ensure that the threading model is Both for the connection manager to work properly with the Integration Services runtime.
线程安全
此类型的任何公共 static(在 Visual Basic 中为 Shared) 成员都是线程安全的。不保证所有实例成员都是线程安全的。