ILoggingConfigurationSendToWmiTraceListener.Filter Method
Specifies the SourceLevels that should be used to filter trace output by this WmiTraceListener.
Namespace: Microsoft.Practices.EnterpriseLibrary.Common.Configuration.Fluent
Assembly: Microsoft.Practices.EnterpriseLibrary.Logging (in Microsoft.Practices.EnterpriseLibrary.Logging.dll)
Syntax
'Declaration
Function Filter ( _
sourceLevel As SourceLevels _
) As ILoggingConfigurationSendToWmiTraceListener
ILoggingConfigurationSendToWmiTraceListener Filter(
SourceLevels sourceLevel
)
ILoggingConfigurationSendToWmiTraceListener^ Filter(
SourceLevels sourceLevel
)
function Filter(
sourceLevel : SourceLevels
) : ILoggingConfigurationSendToWmiTraceListener
Parameters
- sourceLevel
Type: System.Diagnostics.SourceLevels
The SourceLevels that should be used to filter trace output .
Return Value
Fluent interface that can be used to further configure the created WmiTraceListenerData.
See Also
ILoggingConfigurationSendToWmiTraceListener Interface
Microsoft.Practices.EnterpriseLibrary.Common.Configuration.Fluent Namespace
Microsoft.Practices.EnterpriseLibrary.Logging.TraceListeners.WmiTraceListener
Microsoft.Practices.EnterpriseLibrary.Logging.Configuration.WmiTraceListenerData