共用方式為


GetFilterStatus 方法

Gets the filter status of the specified events.

命名空間:  Microsoft.SqlServer.Dts.Runtime
組件:  Microsoft.SqlServer.ManagedDTS (在 Microsoft.SqlServer.ManagedDTS.dll 中)

語法

'宣告
Function GetFilterStatus ( _
    ByRef eventNames As String() _
) As Boolean()
'用途
Dim instance As IDTSLogging
Dim eventNames As String()
Dim returnValue As Boolean()

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

參數

  • eventNames
    型別:array<System. . :: . .String> [] () [] []%
    The events whose filtering status you are interested in.

傳回值

型別:array<System. . :: . .Boolean> [] () [] []

備註

The GetFilterStatus method can be used to determine whether indicated events are filtered out or not. The results are returned as an array of Boolean values that can help you decide whether to call the Log method or not.