Classe LogProviderBase
Defines the abstract base class for managed log providers.
Hiérarchie d'héritage
System. . :: . .Object
Microsoft.SqlServer.Dts.Runtime. . :: . .DtsObject
Microsoft.SqlServer.Dts.Runtime..::..LogProviderBase
Espace de noms : Microsoft.SqlServer.Dts.Runtime
Assembly : Microsoft.SqlServer.ManagedDTS (en Microsoft.SqlServer.ManagedDTS.dll)
Syntaxe
'Déclaration
Public MustInherit Class LogProviderBase _
Inherits DtsObject
'Utilisation
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
Le type LogProviderBase expose les membres suivants.
Constructeurs
Nom | Description | |
---|---|---|
LogProviderBase | Initializes an instance of the LogProviderBase class. |
Haut de la page
Propriétés
Nom | Description | |
---|---|---|
ConfigString | Gets or sets a string used to configure the log provider. | |
Version | Gets the version of the log provider. |
Haut de la page
Méthodes
Nom | Description | |
---|---|---|
CanUpdate | 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 | Determines whether two object instances are equal. (hérité de DtsObject.) | |
Finalize | (hérité de Object.) | |
GetHashCode | Returns the hash code for this instance. (hérité de DtsObject.) | |
GetType | (hérité de Object.) | |
InitializeLogProvider | Called when the log provider is added to a package. | |
Log | Called when a runtime event occurs during package execution. | |
MemberwiseClone | (hérité de Object.) | |
OpenLog | Called at the beginning of package execution to establish connections to external data sources. | |
ToString | (hérité de Object.) | |
Update | Called to upgrade the XML persisted by a previous version of the log provider. | |
Validate | Called to confirm the log provider is properly configured. |
Haut de la page
Notes
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.
Sécurité des threads
Tous les membres publics static (Shared dans Visual Basic) de ce type sont thread-safe. Tous les membres de l'instance ne sont pas garantis comme étant thread-safe.