LogProviderHostClass 类

此 API 支持 SQL Server 2012 基础结构,但不能通过代码直接使用。

Represents a class for the LogProviderHost interface.

继承层次结构

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

命名空间:  Microsoft.SqlServer.Dts.Runtime.Wrapper
程序集:  Microsoft.SqlServer.DTSRuntimeWrap(在 Microsoft.SqlServer.DTSRuntimeWrap.dll 中)

语法

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

LogProviderHostClass 类型公开以下成员。

构造函数

  名称 说明
公共方法 LogProviderHostClass 基础结构。Initializes a new instance of the LogProviderHostClass class.

页首

属性

  名称 说明
公共属性 ConfigString 基础结构。Gets or sets a string used to configure the log provider.
公共属性 CreationName 基础结构。Gets the string used by the runtime to create an instance of the log provider.
公共属性 DelayValidation 基础结构。Gets or sets a value that indicates whether a call to validate for the log provider is delayed until package execution.
公共属性 Description 基础结构。Gets or sets the description of the log provider.
公共属性 Enabled 基础结构。Gets a value that indicates whether the log provider is enabled.
公共属性 HostType 基础结构。Gets an enumeration that describes the type of host that the log provider is being used by. This property is read-only.
公共属性 ID 基础结构。Gets the identifier of the log provider.
公共属性 InnerObject 基础结构。Gets the specific log provider that is being hosted by the LogProviderHostClass object.
公共属性 Name 基础结构。Gets or sets the name of the log provider.

页首

方法

  名称 说明
公共方法 CloseLog 基础结构。Closes the log.
公共方法 Equals (从 Object 继承。)
受保护方法 Finalize (从 Object 继承。)
公共方法 GetFilterStatus 基础结构。Gets the filter status of the specified events.
公共方法 GetHashCode (从 Object 继承。)
公共方法 GetType (从 Object 继承。)
公共方法 Log 基础结构。Writes the log entry.
受保护方法 MemberwiseClone (从 Object 继承。)
公共方法 OpenLog 基础结构。Opens the log.
公共方法 ToString (从 Object 继承。)
公共方法 Validate 基础结构。Validates the log provider with the specified events.

页首

线程安全

此类型的任何公共 static(在 Visual Basic 中为 Shared) 成员都是线程安全的。不保证所有实例成员都是线程安全的。

请参阅

参考

Microsoft.SqlServer.Dts.Runtime.Wrapper 命名空间