共用方式為


LogProviderHostClass Class

Definition

Represents a class for the LogProviderHost interface.

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
Inheritance
LogProviderHostClass
Attributes
Implements

Constructors

LogProviderHostClass()

Initializes a new instance of the LogProviderHostClass class.

Properties

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.

Methods

CloseLog()

Closes the log.

GetFilterStatus(String[])

Gets the filter status of the specified events.

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

Writes the log entry.

OpenLog()

Opens the log.

Validate(IDTSInfoEvents100)

Validates the log provider with the specified events.

Applies to