LogProviderBase LogProviderBase 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
Public MustInherit Class LogProviderBase
Inherits DtsObject
Inheritance
LogProviderBaseLogProviderBaseLogProviderBase

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

Initializes an instance of the LogProviderBase class.

Properties

ConfigString ConfigString ConfigString

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

TargetServerVersion TargetServerVersion TargetServerVersion
Version Version Version

Gets the version of the log provider.

Methods

CanUpdate(String) CanUpdate(String) CanUpdate(String)

Determines whether a log provider supports upgrading the package XML to a newer version of the log provider.

CloseLog() CloseLog() CloseLog()

Called at the end of package execution.

Equals(Object) Equals(Object) Equals(Object)

Determines whether two object instances are equal.

(Inherited from DtsObject)
GetHashCode() GetHashCode() GetHashCode()

Returns the hash code for this instance.

(Inherited from DtsObject)
InitializeLogProvider(Connections, IDTSInfoEvents, ObjectReferenceTracker) InitializeLogProvider(Connections, IDTSInfoEvents, ObjectReferenceTracker) 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[]) Log(String, String, String, String, String, String, String, DateTime, DateTime, Int32, Byte[]) Log(String, String, String, String, String, String, String, DateTime, DateTime, Int32, Byte[])

Called when a runtime event occurs during package execution.

OpenLog() OpenLog() OpenLog()

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

Update(String) Update(String) Update(String)

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

Validate(IDTSInfoEvents) Validate(IDTSInfoEvents) Validate(IDTSInfoEvents)

Called to confirm the log provider is properly configured.

Applies to