This topic has not yet been rated - Rate this topic

LogProviderBase Class

Defines the abstract base class for managed log providers.

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

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.

  Name Description
Protected method LogProviderBase Initializes an instance of the LogProviderBase class.
Top
  Name Description
Public property ConfigString Gets or sets a string used to configure the log provider.
Public property Version Gets the version of the log provider.
Top
  Name Description
Public method CanUpdate Determines whether a log provider supports upgrading the package XML to a newer version of the log provider.
Public method CloseLog Called at the end of package execution.
Public method Equals Determines whether two object instances are equal. (Inherited from DtsObject.)
Protected method Finalize (Inherited from Object.)
Public method GetHashCode Returns the hash code for this instance. (Inherited from DtsObject.)
Public method GetType (Inherited from Object.)
Public method InitializeLogProvider Called when the log provider is added to a package.
Public method Log Called when a runtime event occurs during package execution.
Protected method MemberwiseClone (Inherited from Object.)
Public method OpenLog Called at the beginning of package execution to establish connections to external data sources.
Public method ToString (Inherited from Object.)
Public method Update Called to upgrade the XML persisted by a previous version of the log provider.
Public method Validate Called to confirm the log provider is properly configured.
Top

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.
Did you find this helpful?
(1500 characters remaining)