语言

LogProviderHostClass 类

定义

代表接口的一个 LogProviderHost 类。

public ref class LogProviderHostClass : Microsoft::SqlServer::Dts::Runtime::Wrapper::IDTSLogging100, Microsoft::SqlServer::Dts::Runtime::Wrapper::IDTSLogProvider100, Microsoft::SqlServer::Dts::Runtime::Wrapper::IDTSObjectHost100, Microsoft::SqlServer::Dts::Runtime::Wrapper::LogProviderHost
[System.Runtime.InteropServices.ClassInterface(System.Runtime.InteropServices.ClassInterfaceType.None)]
[System.Runtime.InteropServices.Guid("AD3C857D-F1D4-4D24-B06A-E6C00B1273E8")]
[System.Runtime.InteropServices.TypeLibType(System.Runtime.InteropServices.TypeLibTypeFlags.FCanCreate)]
public class LogProviderHostClass : Microsoft.SqlServer.Dts.Runtime.Wrapper.IDTSLogging100, Microsoft.SqlServer.Dts.Runtime.Wrapper.IDTSLogProvider100, Microsoft.SqlServer.Dts.Runtime.Wrapper.IDTSObjectHost100, Microsoft.SqlServer.Dts.Runtime.Wrapper.LogProviderHost
[System.Runtime.InteropServices.ClassInterface(System.Runtime.InteropServices.ClassInterfaceType.None)]
[System.Runtime.InteropServices.TypeLibType(System.Runtime.InteropServices.TypeLibTypeFlags.FCanCreate)]
[System.Runtime.InteropServices.Guid("2F1E680D-5758-45A4-8C48-C8A5961A3B04")]
public class LogProviderHostClass : Microsoft.SqlServer.Dts.Runtime.Wrapper.IDTSLogging100, Microsoft.SqlServer.Dts.Runtime.Wrapper.IDTSLogProvider100, Microsoft.SqlServer.Dts.Runtime.Wrapper.IDTSObjectHost100, Microsoft.SqlServer.Dts.Runtime.Wrapper.LogProviderHost
[System.Runtime.InteropServices.ClassInterface(System.Runtime.InteropServices.ClassInterfaceType.None)]
[System.Runtime.InteropServices.TypeLibType(System.Runtime.InteropServices.TypeLibTypeFlags.FCanCreate)]
[System.Runtime.InteropServices.Guid("B608E042-AF9C-4159-B448-BB23CFA5EAEC")]
public class LogProviderHostClass : Microsoft.SqlServer.Dts.Runtime.Wrapper.IDTSLogging100, Microsoft.SqlServer.Dts.Runtime.Wrapper.IDTSLogProvider100, Microsoft.SqlServer.Dts.Runtime.Wrapper.IDTSObjectHost100, Microsoft.SqlServer.Dts.Runtime.Wrapper.LogProviderHost
[<System.Runtime.InteropServices.ClassInterface(System.Runtime.InteropServices.ClassInterfaceType.None)>]
[<System.Runtime.InteropServices.Guid("AD3C857D-F1D4-4D24-B06A-E6C00B1273E8")>]
[<System.Runtime.InteropServices.TypeLibType(System.Runtime.InteropServices.TypeLibTypeFlags.FCanCreate)>]
type LogProviderHostClass = class
    interface LogProviderHost
    interface IDTSName100
    interface IDTSObjectHost100
    interface IDTSLogProvider100
    interface IDTSLogging100
[<System.Runtime.InteropServices.ClassInterface(System.Runtime.InteropServices.ClassInterfaceType.None)>]
[<System.Runtime.InteropServices.TypeLibType(System.Runtime.InteropServices.TypeLibTypeFlags.FCanCreate)>]
[<System.Runtime.InteropServices.Guid("2F1E680D-5758-45A4-8C48-C8A5961A3B04")>]
type LogProviderHostClass = class
    interface LogProviderHost
    interface IDTSName100
    interface IDTSObjectHost100
    interface IDTSLogProvider100
    interface IDTSLogging100
[<System.Runtime.InteropServices.ClassInterface(System.Runtime.InteropServices.ClassInterfaceType.None)>]
[<System.Runtime.InteropServices.TypeLibType(System.Runtime.InteropServices.TypeLibTypeFlags.FCanCreate)>]
[<System.Runtime.InteropServices.Guid("B608E042-AF9C-4159-B448-BB23CFA5EAEC")>]
type LogProviderHostClass = class
    interface LogProviderHost
    interface IDTSName100
    interface IDTSObjectHost100
    interface IDTSLogProvider100
    interface IDTSLogging100
Public Class LogProviderHostClass
Implements IDTSLogging100, IDTSLogProvider100, IDTSObjectHost100, LogProviderHost
继承
LogProviderHostClass
属性
实现

构造函数

名称 说明
LogProviderHostClass()

初始化 LogProviderHostClass 类的新实例。

属性

名称 说明
ConfigString

获取或设置用于配置日志提供者的字符串。

CreationName

获取运行时用来创建日志提供者实例的字符串。

DelayValidation

获取或设置一个值,指示验证日志提供者的调用是否会延迟到包执行。

Description

获取或设置日志提供者的描述。

Enabled

获得一个值,表示日志提供者是否被启用。

HostType

获得一个枚举,描述日志提供者所使用的主机类型。 此属性为只读。

ID

获取日志提供者的标识符。

InnerObject

获取对象托管的特定日志提供者 LogProviderHostClass

Name

获取或设置日志提供者的名称。

方法

名称 说明
CloseLog()

关闭日志。

GetFilterStatus(String[])

获取指定事件的过滤状态。

Log(String, String, String, String, String, String, String, DateTime, DateTime, Int32, Byte[])

写日志条目。

OpenLog()

打开日志。

Validate(IDTSInfoEvents100)

用指定事件验证日志提供者。

适用于