ICogDatabase Disconnect Method Cognex VisionPro 9.8 SR1
Disconnect from the database specified by the Name property. Successfully disconnecting releases exclusive read and write access to the database. This method is idempotent - you may safely call it repeatedly.

Namespace: Cognex.VisionPro.Database
Assembly: Cognex.VisionPro.Database (in Cognex.VisionPro.Database.dll) Version: 75.0.0.0 (75.0.0.0)
Syntax

void Disconnect()
Events

Event TypeReason
VisionProChangedEvent Fires when this method changes Connected.
Exceptions

ExceptionCondition
ObjectDisposedException Thrown if this object has already been disposed.
InvalidOperationException Thrown if unable to disconnect.
See Also