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) 成員都是執行緒安全的。並不是所有的執行個體成員都保證可以用於所有的執行緒。