Specifies kinds of the events that are monitored. If this property is specifyed, any other events are ignored.
This example shows selecting connection open events and executing SQL statements for monitoring and turning off call stack sending.
var monitor = new MailChimpMonitor() { IsActive = true };
monitor.SendCallStack = false;
monitor.Filter = Devart.Common.MonitorEventFilter.OpenConnection | Devart.Common.MonitorEventFilter.Execute;
Dim monitor = New MailChimpMonitor() With {
.IsActive = True
}
monitor.SendCallStack = False
monitor.Filter = Devart.Common.MonitorEventFilter.OpenConnection Or Devart.Common.MonitorEventFilter.Execute