Partager via


Classe LogProviderHostClass

Cette API prend en charge l'infrastructure SQL Server 2012 et n'est pas destinée à être utilisée directement à partir de votre code.

Represents a class for the LogProviderHost interface.

Hiérarchie d'héritage

System.Object
  Microsoft.SqlServer.Dts.Runtime.Wrapper.LogProviderHostClass

Espace de noms :  Microsoft.SqlServer.Dts.Runtime.Wrapper
Assembly :  Microsoft.SqlServer.DTSRuntimeWrap (en Microsoft.SqlServer.DTSRuntimeWrap.dll)

Syntaxe

'Déclaration
<ClassInterfaceAttribute(ClassInterfaceType.None)> _
<GuidAttribute("C5337B2A-9EC3-4CDA-B977-3F8A192A2392")> _
Public Class LogProviderHostClass _
    Implements LogProviderHost, IDTSName100, IDTSObjectHost100, IDTSLogProvider100,  _
    IDTSLogging100
'Utilisation
Dim instance As LogProviderHostClass
[ClassInterfaceAttribute(ClassInterfaceType.None)]
[GuidAttribute("C5337B2A-9EC3-4CDA-B977-3F8A192A2392")]
public class LogProviderHostClass : LogProviderHost, 
    IDTSName100, IDTSObjectHost100, IDTSLogProvider100, IDTSLogging100
[ClassInterfaceAttribute(ClassInterfaceType::None)]
[GuidAttribute(L"C5337B2A-9EC3-4CDA-B977-3F8A192A2392")]
public ref class LogProviderHostClass : LogProviderHost, 
    IDTSName100, IDTSObjectHost100, IDTSLogProvider100, IDTSLogging100
[<ClassInterfaceAttribute(ClassInterfaceType.None)>]
[<GuidAttribute("C5337B2A-9EC3-4CDA-B977-3F8A192A2392")>]
type LogProviderHostClass =  
    class 
        interface LogProviderHost 
        interface IDTSName100 
        interface IDTSObjectHost100 
        interface IDTSLogProvider100 
        interface IDTSLogging100 
    end
public class LogProviderHostClass implements LogProviderHost, IDTSName100, IDTSObjectHost100, IDTSLogProvider100, IDTSLogging100

Le type LogProviderHostClass expose les membres suivants.

Constructeurs

  Nom Description
Méthode publique LogProviderHostClass Infrastructure. Initializes a new instance of the LogProviderHostClass class.

Haut de la page

Propriétés

  Nom Description
Propriété publique ConfigString Infrastructure. Gets or sets a string used to configure the log provider.
Propriété publique CreationName Infrastructure. Gets the string used by the runtime to create an instance of the log provider.
Propriété publique DelayValidation Infrastructure. Gets or sets a value that indicates whether a call to validate for the log provider is delayed until package execution.
Propriété publique Description Infrastructure. Gets or sets the description of the log provider.
Propriété publique Enabled Infrastructure. Gets a value that indicates whether the log provider is enabled.
Propriété publique HostType Infrastructure. Gets an enumeration that describes the type of host that the log provider is being used by. This property is read-only.
Propriété publique ID Infrastructure. Gets the identifier of the log provider.
Propriété publique InnerObject Infrastructure. Gets the specific log provider that is being hosted by the LogProviderHostClass object.
Propriété publique Name Infrastructure. Gets or sets the name of the log provider.

Haut de la page

Méthodes

  Nom Description
Méthode publique CloseLog Infrastructure. Closes the log.
Méthode publique Equals (hérité de Object.)
Méthode protégée Finalize (hérité de Object.)
Méthode publique GetFilterStatus Infrastructure. Gets the filter status of the specified events.
Méthode publique GetHashCode (hérité de Object.)
Méthode publique GetType (hérité de Object.)
Méthode publique Log Infrastructure. Writes the log entry.
Méthode protégée MemberwiseClone (hérité de Object.)
Méthode publique OpenLog Infrastructure. Opens the log.
Méthode publique ToString (hérité de Object.)
Méthode publique Validate Infrastructure. Validates the log provider with the specified events.

Haut de la page

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.

Voir aussi

Référence

Espace de noms Microsoft.SqlServer.Dts.Runtime.Wrapper