共用方式為


LogProviderTextFileClass Class

Definition

Represents a class for the LogProviderTextFile interface.

public ref class LogProviderTextFileClass : Microsoft::SqlServer::Dts::Runtime::Wrapper::IDTSLogging100, Microsoft::SqlServer::Dts::Runtime::Wrapper::IDTSName100, Microsoft::SqlServer::Dts::Runtime::Wrapper::LogProviderTextFile
[System.Runtime.InteropServices.ClassInterface(System.Runtime.InteropServices.ClassInterfaceType.None)]
[System.Runtime.InteropServices.Guid("218D90AE-30F3-46BA-A5CE-D4872688DAD4")]
[System.Runtime.InteropServices.TypeLibType(System.Runtime.InteropServices.TypeLibTypeFlags.FCanCreate)]
public class LogProviderTextFileClass : Microsoft.SqlServer.Dts.Runtime.Wrapper.IDTSLogging100, Microsoft.SqlServer.Dts.Runtime.Wrapper.IDTSName100, Microsoft.SqlServer.Dts.Runtime.Wrapper.LogProviderTextFile
[System.Runtime.InteropServices.ClassInterface(System.Runtime.InteropServices.ClassInterfaceType.None)]
[System.Runtime.InteropServices.TypeLibType(System.Runtime.InteropServices.TypeLibTypeFlags.FCanCreate)]
[System.Runtime.InteropServices.Guid("C09FB2CE-24FB-43AF-84A5-2EB9F32F3B8E")]
public class LogProviderTextFileClass : Microsoft.SqlServer.Dts.Runtime.Wrapper.IDTSLogging100, Microsoft.SqlServer.Dts.Runtime.Wrapper.IDTSName100, Microsoft.SqlServer.Dts.Runtime.Wrapper.LogProviderTextFile
[System.Runtime.InteropServices.ClassInterface(System.Runtime.InteropServices.ClassInterfaceType.None)]
[System.Runtime.InteropServices.TypeLibType(System.Runtime.InteropServices.TypeLibTypeFlags.FCanCreate)]
[System.Runtime.InteropServices.Guid("E4713005-708F-4539-BAEE-ACB8B5EC3D34")]
public class LogProviderTextFileClass : Microsoft.SqlServer.Dts.Runtime.Wrapper.IDTSLogging100, Microsoft.SqlServer.Dts.Runtime.Wrapper.IDTSName100, Microsoft.SqlServer.Dts.Runtime.Wrapper.LogProviderTextFile
[<System.Runtime.InteropServices.ClassInterface(System.Runtime.InteropServices.ClassInterfaceType.None)>]
[<System.Runtime.InteropServices.Guid("218D90AE-30F3-46BA-A5CE-D4872688DAD4")>]
[<System.Runtime.InteropServices.TypeLibType(System.Runtime.InteropServices.TypeLibTypeFlags.FCanCreate)>]
type LogProviderTextFileClass = class
    interface IDTSLogProvider100
    interface LogProviderTextFile
    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("C09FB2CE-24FB-43AF-84A5-2EB9F32F3B8E")>]
type LogProviderTextFileClass = class
    interface IDTSLogProvider100
    interface LogProviderTextFile
    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("E4713005-708F-4539-BAEE-ACB8B5EC3D34")>]
type LogProviderTextFileClass = class
    interface IDTSLogProvider100
    interface LogProviderTextFile
    interface IDTSLogging100
    interface IDTSName100
Public Class LogProviderTextFileClass
Implements IDTSLogging100, IDTSName100, LogProviderTextFile
Inheritance
LogProviderTextFileClass
Attributes
Implements

Constructors

LogProviderTextFileClass()

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