共用方式為


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) 成員都是執行緒安全的。並不是所有的執行個體成員都保證可以用於所有的執行緒。