LogProviderBase Class

Defines the abstract base class for managed log providers.


Namespace:  Microsoft.SqlServer.Dts.Runtime
Assembly:  Microsoft.SqlServer.ManagedDTS (in Microsoft.SqlServer.ManagedDTS.dll)

public abstract class LogProviderBase : DtsObject

The LogProviderBase type exposes the following members.

Protected methodLogProviderBaseInitializes an instance of the LogProviderBase class.

Public propertyConfigStringGets or sets a string used to configure the log provider.
Public propertyVersionGets the version of the log provider.

Public methodCanUpdateDetermines whether a log provider supports upgrading the package XML to a newer version of the log provider.
Public methodCloseLogCalled at the end of package execution.
Public methodEqualsDetermines whether two object instances are equal. (Inherited from DtsObject.)
Protected methodFinalize (Inherited from Object.)
Public methodGetHashCodeReturns the hash code for this instance. (Inherited from DtsObject.)
Public methodGetType (Inherited from Object.)
Public methodInitializeLogProviderCalled when the log provider is added to a package.
Public methodLogCalled when a runtime event occurs during package execution.
Protected methodMemberwiseClone (Inherited from Object.)
Public methodOpenLogCalled at the beginning of package execution to establish connections to external data sources.
Public methodToString (Inherited from Object.)
Public methodUpdateCalled to upgrade the XML persisted by a previous version of the log provider.
Public methodValidateCalled 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.

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Community Additions