Поделиться через


Класс 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.

В начало

Безопасность многопоточности

Любые открытые статический (Shared в Visual Basic) элементы этого типа потокобезопасны. Потокобезопасность с элементами экземпляров не гарантируется.

См. также

Справочник

Пространство имен Microsoft.SqlServer.Dts.Runtime.Wrapper