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