Bagikan melalui


LogProviderHostClass Class

This API supports the SQL Server 2012 infrastructure and is not intended to be used directly from your code.

Represents a class for the LogProviderHost interface.

Inheritance Hierarchy

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

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

Syntax

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

The LogProviderHostClass type exposes the following members.

Constructors

  Name Description
Public method LogProviderHostClass Infrastructure. Initializes a new instance of the LogProviderHostClass class.

Top

Properties

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

Top

Methods

  Name Description
Public method CloseLog Infrastructure. Closes the log.
Public method Equals (Inherited from Object.)
Protected method Finalize (Inherited from Object.)
Public method GetFilterStatus Infrastructure. Gets the filter status of the specified events.
Public method GetHashCode (Inherited from Object.)
Public method GetType (Inherited from Object.)
Public method Log Infrastructure. Writes the log entry.
Protected method MemberwiseClone (Inherited from Object.)
Public method OpenLog Infrastructure. Opens the log.
Public method ToString (Inherited from Object.)
Public method Validate Infrastructure. Validates the log provider with the specified events.

Top

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Reference

Microsoft.SqlServer.Dts.Runtime.Wrapper Namespace