共用方式為


LogProviderEventLogClass Class

Definition

Represents a class for the LogProviderEventLog interface.

public ref class LogProviderEventLogClass : Microsoft::SqlServer::Dts::Runtime::Wrapper::IDTSLogging100, Microsoft::SqlServer::Dts::Runtime::Wrapper::IDTSName100, Microsoft::SqlServer::Dts::Runtime::Wrapper::LogProviderEventLog
[System.Runtime.InteropServices.ClassInterface(System.Runtime.InteropServices.ClassInterfaceType.None)]
[System.Runtime.InteropServices.Guid("CFE49DCA-F092-448F-BFD7-1FCE3DCCFA8F")]
[System.Runtime.InteropServices.TypeLibType(System.Runtime.InteropServices.TypeLibTypeFlags.FCanCreate)]
public class LogProviderEventLogClass : Microsoft.SqlServer.Dts.Runtime.Wrapper.IDTSLogging100, Microsoft.SqlServer.Dts.Runtime.Wrapper.IDTSName100, Microsoft.SqlServer.Dts.Runtime.Wrapper.LogProviderEventLog
[System.Runtime.InteropServices.ClassInterface(System.Runtime.InteropServices.ClassInterfaceType.None)]
[System.Runtime.InteropServices.TypeLibType(System.Runtime.InteropServices.TypeLibTypeFlags.FCanCreate)]
[System.Runtime.InteropServices.Guid("6169E378-F8EF-499A-A52F-A26C1BB1357A")]
public class LogProviderEventLogClass : Microsoft.SqlServer.Dts.Runtime.Wrapper.IDTSLogging100, Microsoft.SqlServer.Dts.Runtime.Wrapper.IDTSName100, Microsoft.SqlServer.Dts.Runtime.Wrapper.LogProviderEventLog
[System.Runtime.InteropServices.ClassInterface(System.Runtime.InteropServices.ClassInterfaceType.None)]
[System.Runtime.InteropServices.TypeLibType(System.Runtime.InteropServices.TypeLibTypeFlags.FCanCreate)]
[System.Runtime.InteropServices.Guid("B012F6D3-06A3-4370-B12B-564AE9A57469")]
public class LogProviderEventLogClass : Microsoft.SqlServer.Dts.Runtime.Wrapper.IDTSLogging100, Microsoft.SqlServer.Dts.Runtime.Wrapper.IDTSName100, Microsoft.SqlServer.Dts.Runtime.Wrapper.LogProviderEventLog
[<System.Runtime.InteropServices.ClassInterface(System.Runtime.InteropServices.ClassInterfaceType.None)>]
[<System.Runtime.InteropServices.Guid("CFE49DCA-F092-448F-BFD7-1FCE3DCCFA8F")>]
[<System.Runtime.InteropServices.TypeLibType(System.Runtime.InteropServices.TypeLibTypeFlags.FCanCreate)>]
type LogProviderEventLogClass = class
    interface IDTSLogProvider100
    interface LogProviderEventLog
    interface IDTSLogging100
    interface IDTSName100
[<System.Runtime.InteropServices.ClassInterface(System.Runtime.InteropServices.ClassInterfaceType.None)>]
[<System.Runtime.InteropServices.TypeLibType(System.Runtime.InteropServices.TypeLibTypeFlags.FCanCreate)>]
[<System.Runtime.InteropServices.Guid("6169E378-F8EF-499A-A52F-A26C1BB1357A")>]
type LogProviderEventLogClass = class
    interface IDTSLogProvider100
    interface LogProviderEventLog
    interface IDTSLogging100
    interface IDTSName100
[<System.Runtime.InteropServices.ClassInterface(System.Runtime.InteropServices.ClassInterfaceType.None)>]
[<System.Runtime.InteropServices.TypeLibType(System.Runtime.InteropServices.TypeLibTypeFlags.FCanCreate)>]
[<System.Runtime.InteropServices.Guid("B012F6D3-06A3-4370-B12B-564AE9A57469")>]
type LogProviderEventLogClass = class
    interface IDTSLogProvider100
    interface LogProviderEventLog
    interface IDTSLogging100
    interface IDTSName100
Public Class LogProviderEventLogClass
Implements IDTSLogging100, IDTSName100, LogProviderEventLog
Inheritance
LogProviderEventLogClass
Attributes
Implements

Constructors

LogProviderEventLogClass()

Initializes a new instance of the LogProviderEventLogClass 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.

Description

Gets or sets the description of the log provider.

Enabled

Gets a value that indicates whether the log provider is enabled.

ID

Gets the identifier of the log provider.

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