Remove any and all database items. Does not affect the Metadata
property.
Namespace: Cognex.VisionPro.DatabaseAssembly: Cognex.VisionPro.Database (in Cognex.VisionPro.Database.dll) Version: 73.0.0.0 (73.0.0.0)
Syntax
Implements
ICogDatabase ClearEvents
| Event Type | Reason |
|---|---|
| DatabaseClearingEvent | Fires at the start of a call to this method. |
| DatabaseClearedEvent | Fires at the end of a call to this method. |
| VisionProChangedEvent | Fires when this method changes the value returned by GetCount. |
Exceptions
| Exception | Condition |
|---|---|
| ObjectDisposedException | Thrown if this object has already been disposed. |
| InvalidOperationException | Thrown if not currently connected. |
| InvalidOperationException | Thrown if unable to remove a record. |
See Also