Compartilhar via


Classe LogProviderHostClass

Essa API oferece suporte à infraestrutura do SQL Server 2012 e não se destina a ser usada diretamente no seu código.

Represents a class for the LogProviderHost interface.

Hierarquia de herança

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

Namespace:  Microsoft.SqlServer.Dts.Runtime.Wrapper
Assembly:  Microsoft.SqlServer.DTSRuntimeWrap (em Microsoft.SqlServer.DTSRuntimeWrap.dll)

Sintaxe

'Declaração
<ClassInterfaceAttribute(ClassInterfaceType.None)> _
<GuidAttribute("C5337B2A-9EC3-4CDA-B977-3F8A192A2392")> _
Public Class LogProviderHostClass _
    Implements LogProviderHost, IDTSName100, IDTSObjectHost100, IDTSLogProvider100,  _
    IDTSLogging100
'Uso
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

O tipo LogProviderHostClass expõe os membros a seguir.

Construtores

  Nome Descrição
Método público LogProviderHostClass Infraestrutura. Initializes a new instance of the LogProviderHostClass class.

Início

Propriedades

  Nome Descrição
Propriedade pública ConfigString Infraestrutura. Gets or sets a string used to configure the log provider.
Propriedade pública CreationName Infraestrutura. Gets the string used by the runtime to create an instance of the log provider.
Propriedade pública DelayValidation Infraestrutura. Gets or sets a value that indicates whether a call to validate for the log provider is delayed until package execution.
Propriedade pública Description Infraestrutura. Gets or sets the description of the log provider.
Propriedade pública Enabled Infraestrutura. Gets a value that indicates whether the log provider is enabled.
Propriedade pública HostType Infraestrutura. Gets an enumeration that describes the type of host that the log provider is being used by. This property is read-only.
Propriedade pública ID Infraestrutura. Gets the identifier of the log provider.
Propriedade pública InnerObject Infraestrutura. Gets the specific log provider that is being hosted by the LogProviderHostClass object.
Propriedade pública Name Infraestrutura. Gets or sets the name of the log provider.

Início

Métodos

  Nome Descrição
Método público CloseLog Infraestrutura. Closes the log.
Método público Equals (Herdado de Object.)
Método protegido Finalize (Herdado de Object.)
Método público GetFilterStatus Infraestrutura. Gets the filter status of the specified events.
Método público GetHashCode (Herdado de Object.)
Método público GetType (Herdado de Object.)
Método público Log Infraestrutura. Writes the log entry.
Método protegido MemberwiseClone (Herdado de Object.)
Método público OpenLog Infraestrutura. Opens the log.
Método público ToString (Herdado de Object.)
Método público Validate Infraestrutura. Validates the log provider with the specified events.

Início

Segurança de thread

Qualquer membro público static (Shared no Visual Basic) desse tipo é seguro para threads. Não há garantia de que qualquer membro de instância seja seguro para threads.

Consulte também

Referência

Namespace Microsoft.SqlServer.Dts.Runtime.Wrapper