ICogDatabase Name Property Cognex VisionPro 9.22 SR1
Gets or sets the name of this database. 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.Database
Assembly: Cognex.VisionPro.Database (in Cognex.VisionPro.Database.dll) Version: 87.1.0.0 (87.1.0.0)
Syntax

string Name { get; set; }

Property Value

Type: String
Events

Event TypeReason
VisionProChangedEvent Fires when this property changes.
Exceptions

ExceptionCondition
ObjectDisposedException Thrown if this object has already been disposed.
InvalidOperationException Thrown if you attempt to set Name while Connected is true.
See Also