protected override ManagementEventWatcher CreateEventWatcher()
 {
     return(WqlHelper.GetEventWatcher(WqlEventType.Operation,
                                      WqlTableName.EthernetSwitchExtension,
                                      string.Format("TargetInstance.{0} = '{1}'",
                                                    WqlColumnNames.ElementName, OvsExtentionName)));
 }
Example #2
0
 protected override ManagementEventWatcher CreateEventWatcher()
 {
     return(WqlHelper.GetEventWatcher(
                WqlEventType.Operation, WqlTableName.EthernetPortAllocationSettingData,
                string.Format("TargetInstance.{0} = '{1}'", WqlColumnNames.Caption, VirtualAdapterCaption)));
 }