Specifies the name and location of the configuration file where the relational map of native data is written. The driver looks for this file when connecting to a MongoDB server. If the file does not exist, the driver creates one.
Valid Values
string
where:
string
is the absolute path and filename of the configuration file, including the .config extension. For example, if SchemaDefinition is set to a value of C:\Users\Default\AppData\Local\Progress\DataDirect\MongoDB Schema\MainServer.config, the driver either creates or looks for the configuration file MainServer.config in the directory C:\Users\Default\AppData\Local\Progress\DataDirect\MongoDB Schema.
Notes
When connecting to a MongoDB server, the driver looks for the SchemaDefinition configuration file. If the configuration file does not exist, the driver creates a SchemaDefinition using the name and location you have provided. If you do not provide a name and location for SchemaDefinition, the driver creates a SchemaDefinition using default values.
The Schema Tool uses the path specified in this connection option to store log and internal files.
Default
The default value is determined by the Host Name connection option, platform, and data source type. When you specify a value for the host name connection option, the driver uses it to create the filename prefix for the config file. For example, if you specify a host name of MainServer, the default config file will be named MainServer.config. The path component of the default value is dependent on the platform and, for some Windows platforms, data source type. The following is a list of default values by platform: