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 类型公开以下成员。
属性
名称 | 说明 | |
---|---|---|
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) 成员都是线程安全的。不保证所有实例成员都是线程安全的。