CogDatabaseDirectory Constructor (String)Cognex VisionPro
Construct a new instance of the CogDatabaseDirectory class. Set the Name property to the supplied value, and then attempt to connect to that database.

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

public CogDatabaseDirectory(
	string name
)

Parameters

name
Type: System String
The desired database name. This must be the path of the intended database directory, e.g. "C:\\MyDatabase".
Exceptions

ExceptionCondition
InvalidOperationException Thrown if unable to connect.
See Also