LogProviderBase 类

Defines the abstract base class for managed log providers.

继承层次结构

System. . :: . .Object
  Microsoft.SqlServer.Dts.Runtime. . :: . .DtsObject
    Microsoft.SqlServer.Dts.Runtime..::..LogProviderBase

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

语法

声明
Public MustInherit Class LogProviderBase _
    Inherits DtsObject
用法
Dim instance As LogProviderBase
public abstract class LogProviderBase : DtsObject
public ref class LogProviderBase abstract : public DtsObject
[<AbstractClassAttribute>]
type LogProviderBase =  
    class
        inherit DtsObject
    end
public abstract class LogProviderBase extends DtsObject

LogProviderBase 类型公开以下成员。

构造函数

  名称 说明
受保护方法 LogProviderBase Initializes an instance of the LogProviderBase class.

页首

属性

  名称 说明
公共属性 ConfigString Gets or sets a string used to configure the log provider.
公共属性 Version Gets the version of the log provider.

页首

方法

  名称 说明
公共方法 CanUpdate Determines whether a log provider supports upgrading the package XML to a newer version of the log provider.
公共方法 CloseLog Called at the end of package execution.
公共方法 Equals Determines whether two object instances are equal. (从 DtsObject 继承。)
受保护方法 Finalize (从 Object 继承。)
公共方法 GetHashCode Returns the hash code for this instance. (从 DtsObject 继承。)
公共方法 GetType (从 Object 继承。)
公共方法 InitializeLogProvider Called when the log provider is added to a package.
公共方法 Log Called when a runtime event occurs during package execution.
受保护方法 MemberwiseClone (从 Object 继承。)
公共方法 OpenLog Called at the beginning of package execution to establish connections to external data sources.
公共方法 ToString (从 Object 继承。)
公共方法 Update Called to upgrade the XML persisted by a previous version of the log provider.
公共方法 Validate Called to confirm the log provider is properly configured.

页首

注释

To create your own log provider, derive from the LogProviderBase class.

The LogProviderBase is used in conjunction with the DtsLogProviderAttribute to implement a custom log provider.

线程安全

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