LogProviderBase Class

Definition

Defines the abstract base class for managed log providers.

public ref class LogProviderBase abstract : Microsoft::SqlServer::Dts::Runtime::DtsObject
public abstract class LogProviderBase : Microsoft.SqlServer.Dts.Runtime.DtsObject
type LogProviderBase = class
    inherit DtsObject
Public MustInherit Class LogProviderBase
Inherits DtsObject
Inheritance
LogProviderBase

Remarks

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.

Constructors

LogProviderBase()

Initializes an instance of the LogProviderBase class.

Properties

ConfigString

Gets or sets a string used to configure the log provider.

TargetServerVersion
Version

Gets the version of the log provider.

Methods

CanUpdate(String)

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(Object)

Determines whether two object instances are equal.

(Inherited from DtsObject)
GetHashCode()

Returns the hash code for this instance.

(Inherited from DtsObject)
InitializeLogProvider(Connections, IDTSInfoEvents, ObjectReferenceTracker)

Called when the log provider is added to a package.

Log(String, String, String, String, String, String, String, DateTime, DateTime, Int32, Byte[])

Called when a runtime event occurs during package execution.

OpenLog()

Called at the beginning of package execution to establish connections to external data sources.

Update(String)

Called to upgrade the XML persisted by a previous version of the log provider.

Validate(IDTSInfoEvents)

Called to confirm the log provider is properly configured.

Applies to