Metodo IDTSLogging.GetFilterStatus

Gets the filter status of the specified events.

Spazio dei nomi  Microsoft.SqlServer.Dts.Runtime
Assembly:  Microsoft.SqlServer.ManagedDTS (in Microsoft.SqlServer.ManagedDTS.dll)

Sintassi

'Dichiarazione
Function GetFilterStatus ( _
    ByRef eventNames As String() _
) As Boolean()
'Utilizzo
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[]

Parametri

  • eventNames
    Tipo: array<System.String[]%
    The events whose filtering status you are interested in.

Valore restituito

Tipo: array<System.Boolean[]

Osservazioni

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.

Vedere anche

Riferimento

IDTSLogging Interfaccia

Spazio dei nomi Microsoft.SqlServer.Dts.Runtime