ManagedWrapper 类

此 API 支持 SQL Server 2012 基础结构,但不能通过代码直接使用。

Represents the managed wrapper.

此 API 不符合 CLS。 

继承层次结构

System.Object
  Microsoft.SqlServer.Dts.Runtime.ManagedWrapper

命名空间:  Microsoft.SqlServer.Dts.Runtime
程序集:  Microsoft.SqlServer.ManagedDTS(在 Microsoft.SqlServer.ManagedDTS.dll 中)

语法

声明
<CLSCompliantAttribute(False)> _
<ComVisibleAttribute(True)> _
<GuidAttribute("3E9B068D-6F2E-4B29-8A93-1C8F71062F12")> _
Public NotInheritable Class ManagedWrapper _
    Implements IDTSManagedWrapper100, IDTSTask100, IDTSTaskInit100, IDTSComponentPersist100,  _
    IDTSBreakpointSite100, IDTSSuspend100, IDTSConnectionManager100, IDTSLogProviderInit100, IDTSLogProvider100,  _
    IDTSLogging100, IDTSObjectVersionUpdate100, IDTSProductLevel100, IDTSDowngradableObject100
用法
Dim instance As ManagedWrapper
[CLSCompliantAttribute(false)]
[ComVisibleAttribute(true)]
[GuidAttribute("3E9B068D-6F2E-4B29-8A93-1C8F71062F12")]
public sealed class ManagedWrapper : IDTSManagedWrapper100, 
    IDTSTask100, IDTSTaskInit100, IDTSComponentPersist100, IDTSBreakpointSite100, IDTSSuspend100, 
    IDTSConnectionManager100, IDTSLogProviderInit100, IDTSLogProvider100, IDTSLogging100, IDTSObjectVersionUpdate100, 
    IDTSProductLevel100, IDTSDowngradableObject100
[CLSCompliantAttribute(false)]
[ComVisibleAttribute(true)]
[GuidAttribute(L"3E9B068D-6F2E-4B29-8A93-1C8F71062F12")]
public ref class ManagedWrapper sealed : IDTSManagedWrapper100, 
    IDTSTask100, IDTSTaskInit100, IDTSComponentPersist100, IDTSBreakpointSite100, IDTSSuspend100, 
    IDTSConnectionManager100, IDTSLogProviderInit100, IDTSLogProvider100, IDTSLogging100, IDTSObjectVersionUpdate100, 
    IDTSProductLevel100, IDTSDowngradableObject100
[<SealedAttribute>]
[<CLSCompliantAttribute(false)>]
[<ComVisibleAttribute(true)>]
[<GuidAttribute("3E9B068D-6F2E-4B29-8A93-1C8F71062F12")>]
type ManagedWrapper =  
    class 
        interface IDTSManagedWrapper100 
        interface IDTSTask100 
        interface IDTSTaskInit100 
        interface IDTSComponentPersist100 
        interface IDTSBreakpointSite100 
        interface IDTSSuspend100 
        interface IDTSConnectionManager100 
        interface IDTSLogProviderInit100 
        interface IDTSLogProvider100 
        interface IDTSLogging100 
        interface IDTSObjectVersionUpdate100 
        interface IDTSProductLevel100 
        interface IDTSDowngradableObject100 
    end
public final class ManagedWrapper implements IDTSManagedWrapper100, IDTSTask100, IDTSTaskInit100, IDTSComponentPersist100, IDTSBreakpointSite100, IDTSSuspend100, IDTSConnectionManager100, IDTSLogProviderInit100, IDTSLogProvider100, IDTSLogging100, IDTSObjectVersionUpdate100, IDTSProductLevel100, IDTSDowngradableObject100

ManagedWrapper 类型公开以下成员。

构造函数

  名称 说明
公共方法 ManagedWrapper 基础结构。Initializes a new instance of the ManagedWrapper class.

页首

属性

  名称 说明
公共属性 ConfigString 基础结构。Gets or sets the configuration string associated with the wrapper.
公共属性 ConnectionString 基础结构。Sets or sets the connection string associated with the wrapper.
公共属性 DebugMode 基础结构。Get or sets whether the wrapper is in debugging mode.
公共属性 Enabled 基础结构。Gets or sets whether the wrapper is enabled.
公共属性 ExecutionValue 基础结构。Gets the execution value of the wrapper.
公共属性 ManagedForEachEnumeratorQualifiedName 基础结构。Gets the qualified name for the managed ForEach enumerator.
公共属性 ProtectionLevel 基础结构。Gets or sets the protection level of the wrapper.
公共属性 RequiredProductLevel 基础结构。Gets t he required product level of the wrapper.
公共属性 Scope 基础结构。Gets the scope of the wrapper.
公共属性 SupportsDTCTransactions 基础结构。Gets whether the wrapper supports DTCT transactions.
公共属性 SuspendRequired 基础结构。Gets or sets whether the suspension of the wrapper is required.
公共属性 Version 基础结构。Gets the version of the wrapper.
公共属性 WrappedConnection 基础结构。Gets or sets the wrapped connection of the wrapper.
公共属性 WrappedForEachEnumerator 基础结构。Gets or sets the wrapped ForEach enumerator.
公共属性 WrappedLogProvider 基础结构。Gets or sets the wrapped log provider.
公共属性 WrappedTask 基础结构。Gets or sets the value of the wrapped task.

页首

方法

  名称 说明
公共方法 AcceptBreakpointManager 基础结构。Accepts a breakpoint manager.
公共方法 AcquireConnection 基础结构。Acquires a wrapper connection.
公共方法 CanDowngradeTo 基础结构。Specifies whether the wrapper can be downgraded to a specific version.
公共方法 CanUpdate 基础结构。Specifies whether the wrapper can be upgraded.
公共方法 CloseLog 基础结构。Closes the log for the wrapper.
公共方法 DowngradeTo 基础结构。Downgrades a wrapper to a lower version.
公共方法 Equals (从 Object 继承。)
公共方法 Execute 基础结构。Executes the wrapper.
公共方法 GetFilterStatus 基础结构。Returns the filter status of the wrapper.
公共方法 GetHashCode (从 Object 继承。)
公共方法 GetSite 基础结构。Returns the site for the wrapper.
公共方法 GetType (从 Object 继承。)
公共方法 InitializeLogProvider 基础结构。Initializes the log provider for the wrapper.
公共方法 InitializeTask 基础结构。Initializes the wrapper task.
公共方法 LoadFromXML 基础结构。Loads the wrapper from XML
公共方法 Log 基础结构。Logs the wrapper.
公共方法 OpenLog 基础结构。Opens the wrapper log.
公共方法 ReleaseConnection 基础结构。Releases any connections associated with the wrapper.
公共方法 ResumeExecution 基础结构。Resumes the execution associated with the wrapper.
公共方法 SaveToXML 基础结构。Saves the wrapper to XML.
公共方法 SetManagedObject 基础结构。Sets the managed object.
公共方法 SetQualifier 基础结构。Sets the wrapper qualifier.
公共方法 SetSite 基础结构。Sets the wrapper site.
公共方法 SuspendExecution 基础结构。Suspends the wrapper execution.
公共方法 ToString (从 Object 继承。)
公共方法 Update 基础结构。Updates the wrapper.
公共方法 Validate(IDTSInfoEvents100) 基础结构。Validates the wrapper with specified events.
公共方法 Validate(IDTSConnections100, IDTSVariableDispenser100, IDTSComponentEvents100, IDTSLogging100) 基础结构。Validates the wrapper with specified connection, dispenser, component events and logs.

页首

线程安全

此类型的任何公共 static(在 Visual Basic 中为 Shared) 成员都是线程安全的。不保证所有实例成员都是线程安全的。

请参阅

参考

Microsoft.SqlServer.Dts.Runtime 命名空间