此 API 支持 SQL Server 2012 基础结构,但不能通过代码直接使用。
Represents a class for the LogProviderTextFile interface.
继承层次结构
System.Object
Microsoft.SqlServer.Dts.Runtime.Wrapper.LogProviderTextFileClass
命名空间: Microsoft.SqlServer.Dts.Runtime.Wrapper
程序集: Microsoft.SqlServer.DTSRuntimeWrap(在 Microsoft.SqlServer.DTSRuntimeWrap.dll 中)
语法
声明
<GuidAttribute("03E07F2D-EA22-440B-8DE9-B56A22F0E9FF")> _
<ClassInterfaceAttribute(ClassInterfaceType.None)> _
Public Class LogProviderTextFileClass _
Implements IDTSLogProvider100, LogProviderTextFile, IDTSLogging100, IDTSName100
用法
Dim instance As LogProviderTextFileClass
[GuidAttribute("03E07F2D-EA22-440B-8DE9-B56A22F0E9FF")]
[ClassInterfaceAttribute(ClassInterfaceType.None)]
public class LogProviderTextFileClass : IDTSLogProvider100,
LogProviderTextFile, IDTSLogging100, IDTSName100
[GuidAttribute(L"03E07F2D-EA22-440B-8DE9-B56A22F0E9FF")]
[ClassInterfaceAttribute(ClassInterfaceType::None)]
public ref class LogProviderTextFileClass : IDTSLogProvider100,
LogProviderTextFile, IDTSLogging100, IDTSName100
[<GuidAttribute("03E07F2D-EA22-440B-8DE9-B56A22F0E9FF")>]
[<ClassInterfaceAttribute(ClassInterfaceType.None)>]
type LogProviderTextFileClass =
class
interface IDTSLogProvider100
interface LogProviderTextFile
interface IDTSLogging100
interface IDTSName100
end
public class LogProviderTextFileClass implements IDTSLogProvider100, LogProviderTextFile, IDTSLogging100, IDTSName100
LogProviderTextFileClass 类型公开以下成员。
构造函数
| 名称 | 说明 | |
|---|---|---|
![]() |
LogProviderTextFileClass | 基础结构。Initializes a new instance of the LogProviderTextFileClass 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. |
![]() |
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. |
页首
方法
| 名称 | 说明 | |
|---|---|---|
![]() |
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) 成员都是线程安全的。不保证所有实例成员都是线程安全的。
.gif)
.gif)
.gif)