Gets or sets the name of this database. This will be
the path of the desired database directory,
e.g. "C:\\MyDatabase". This must be set to
the desired value before calling Connect. Attempting to
set this when Connected is true will cause an exception to
be thrown.
Namespace: Cognex.VisionPro.DatabaseAssembly: Cognex.VisionPro.Database (in Cognex.VisionPro.Database.dll) Version: 85.1.0.0 (85.1.0.0)
Syntax
Property Value
Type: StringImplements
ICogDatabase NameEvents
| Event Type | Reason |
|---|---|
| VisionProChangedEvent | Fires when this property changes. |
Exceptions
| Exception | Condition |
|---|---|
| ObjectDisposedException | Thrown if this object has already been disposed. |
| InvalidOperationException | Thrown if you attempt to set Name while Connected is true. |
See Also