LogProviderSQLProfilerClass.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 LogProviderSQLProfilerClass 
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[]%)

请参阅

参考

LogProviderSQLProfilerClass 类

Microsoft.SqlServer.Dts.Runtime.Wrapper 命名空间