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


Метод LogProviderHostClass.GetFilterStatus

Этот API-интерфейс поддерживает инфраструктуру SQL Server 2012 и не предназначен для использования непосредственно из кода.

Gets the filter status of the specified events.

Пространство имен:  Microsoft.SqlServer.Dts.Runtime.Wrapper
Сборка:  Microsoft.SqlServer.DTSRuntimeWrap (в Microsoft.SqlServer.DTSRuntimeWrap.dll)

Синтаксис

'Декларация
Public Overridable Function GetFilterStatus ( _
    ByRef EventNames As String() _
) As Boolean()
'Применение
Dim instance As LogProviderHostClass 
Dim EventNames As String()
Dim returnValue As Boolean()

returnValue = instance.GetFilterStatus(EventNames)
public virtual bool[] GetFilterStatus(
    ref string[] EventNames
)
public:
virtual array<bool>^ GetFilterStatus(
    [InAttribute] array<String^>^% EventNames
)
abstract GetFilterStatus : 
        EventNames:string[] byref -> bool[] 
override GetFilterStatus : 
        EventNames:string[] byref -> bool[] 
public function GetFilterStatus(
    EventNames : String[]
) : boolean[]

Параметры

  • EventNames
    Тип: array<System.String[]%
    The event whose filtering status you are interested in.

Возвращаемое значение

Тип: array<System.Boolean[]
true if the indicated events are filtered out; otherwise, false.

Реализует

IDTSLogging100.GetFilterStatus(array<String[]%)

См. также

Справочник

LogProviderHostClass Класс

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