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