此 API 支持 SQL Server 2012 基础结构,但不能通过代码直接使用。
Represents a class for the LogProviderEventLog interface.
继承层次结构
System.Object
Microsoft.SqlServer.Dts.Runtime.Wrapper.LogProviderEventLogClass
命名空间: Microsoft.SqlServer.Dts.Runtime.Wrapper
程序集: Microsoft.SqlServer.DTSRuntimeWrap(在 Microsoft.SqlServer.DTSRuntimeWrap.dll 中)
语法
声明
<GuidAttribute("9BD4455F-7B98-4280-9AA9-932EC8B411D9")> _
<ClassInterfaceAttribute(ClassInterfaceType.None)> _
Public Class LogProviderEventLogClass _
Implements IDTSLogProvider100, LogProviderEventLog, IDTSLogging100, IDTSName100
用法
Dim instance As LogProviderEventLogClass
[GuidAttribute("9BD4455F-7B98-4280-9AA9-932EC8B411D9")]
[ClassInterfaceAttribute(ClassInterfaceType.None)]
public class LogProviderEventLogClass : IDTSLogProvider100,
LogProviderEventLog, IDTSLogging100, IDTSName100
[GuidAttribute(L"9BD4455F-7B98-4280-9AA9-932EC8B411D9")]
[ClassInterfaceAttribute(ClassInterfaceType::None)]
public ref class LogProviderEventLogClass : IDTSLogProvider100,
LogProviderEventLog, IDTSLogging100, IDTSName100
[<GuidAttribute("9BD4455F-7B98-4280-9AA9-932EC8B411D9")>]
[<ClassInterfaceAttribute(ClassInterfaceType.None)>]
type LogProviderEventLogClass =
class
interface IDTSLogProvider100
interface LogProviderEventLog
interface IDTSLogging100
interface IDTSName100
end
public class LogProviderEventLogClass implements IDTSLogProvider100, LogProviderEventLog, IDTSLogging100, IDTSName100
LogProviderEventLogClass 类型公开以下成员。
构造函数
| 名称 | 说明 | |
|---|---|---|
![]() |
LogProviderEventLogClass | 基础结构。Initializes a new instance of the LogProviderEventLogClass 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)