LogProviderBase-Klasse

Defines the abstract base class for managed log providers.

Vererbungshierarchie

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)

Syntax

'Declaration
Public MustInherit Class LogProviderBase _
    Inherits DtsObject
'Usage
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

Der LogProviderBase-Typ macht folgende Elemente verfügbar.

Konstruktoren

  Name Beschreibung
Geschützte Methode LogProviderBase Initializes an instance of the LogProviderBase class.

Zum Anfang

Eigenschaften

  Name Beschreibung
Öffentliche Eigenschaft ConfigString Gets or sets a string used to configure the log provider.
Öffentliche Eigenschaft Version Gets the version of the log provider.

Zum Anfang

Methoden

  Name Beschreibung
Öffentliche Methode CanUpdate Determines whether a log provider supports upgrading the package XML to a newer version of the log provider.
Öffentliche Methode CloseLog Called at the end of package execution.
Öffentliche Methode Equals Determines whether two object instances are equal. (Geerbt von DtsObject.)
Geschützte Methode Finalize (Geerbt von Object.)
Öffentliche Methode GetHashCode Returns the hash code for this instance. (Geerbt von DtsObject.)
Öffentliche Methode GetType (Geerbt von Object.)
Öffentliche Methode InitializeLogProvider Called when the log provider is added to a package.
Öffentliche Methode Log Called when a runtime event occurs during package execution.
Geschützte Methode MemberwiseClone (Geerbt von Object.)
Öffentliche Methode OpenLog Called at the beginning of package execution to establish connections to external data sources.
Öffentliche Methode ToString (Geerbt von Object.)
Öffentliche Methode Update Called to upgrade the XML persisted by a previous version of the log provider.
Öffentliche Methode Validate Called to confirm the log provider is properly configured.

Zum Anfang

Hinweise

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.

Threadsicherheit

Alle öffentlichen static (Shared in Visual Basic)-Elemente dieses Typs sind Threadsicher. Für Instanzelemente wird die Threadsicherheit nicht gewährleistet.