The connection string properties are the various options that can be used to establish a connection.
This section provides a complete list of the options you can configure in the connection string for
this provider. Click the links for further details.
For more information on establishing a connection, see
Basic Tab.
Authentication
| Property | Description |
| AuthScheme | The authentication mechanism that MongoDB
will use to authenticate the connection. |
| Server | The host name or IP address of the server
hosting the MongoDB database. |
| Port | The port for the MongoDB database. |
| User | The MongoDB user account used to
authenticate. |
| Password | The password used to authenticate the user.
|
| Database | The name of the MongoDB database. |
| UseSSL | This field sets whether SSL is enabled.
|
| AuthDatabase | The name of the MongoDB database for
authentication. |
| ReplicaSet | This property allows you to specify
multiple servers in addition to the one configured in Server and Port . Specify both a
server name and port; separate servers with a comma. |
| DNSServer | Specify the DNS server when resolving
MongoDB seed list. |
Kerberos
SSL
SSH
Firewall
| Property | Description |
| FirewallType | The protocol used by a proxy-based
firewall. |
| FirewallServer | The name or IP address of a proxy-based
firewall. |
| FirewallPort | The TCP port for a proxy-based firewall.
|
| FirewallUser | The user name to use to authenticate with a
proxy-based firewall. |
| FirewallPassword | A password used to authenticate to a
proxy-based firewall. |
Logging
| Property | Description |
| LogModules | Core modules to be included in the log
file. |
Schema
| Property | Description |
| Location | A path to the directory that contains the
schema files defining tables, views, and stored procedures. |
Miscellaneous
| Property | Description |
| DataModel | By default, the provider will not
automatically discover the metadata for a child table as its own distinct table. To
enable this functionality, set DataModel to Relational . |
| FlattenArrays | By default, nested arrays are returned as
strings of JSON. The FlattenArrays property can be used to flatten the elements of
nested arrays into columns of their own. Set FlattenArrays to the number of elements you
want to return from nested arrays. |
| FlattenObjects | Set FlattenObjects to true to flatten
object properties into columns of their own. Otherwise, objects nested in arrays are
returned as strings of JSON. |
| GenerateSchemaFiles | Indicates the user preference as to when
schemas should be generated and saved. |
| MaxRows | Limits the number of rows returned rows
when no aggregation or group by is used in the query. This helps avoid performance
issues at design time. |
| NoCursorTimeout | The server normally times out idle cursors
after an inactivity period (10 minutes) to prevent excess memory use. Set this option to
prevent that. |
| Other | These hidden properties are used only in
specific use cases. |
| Pagesize | The maximum number of results to return per
page from MongoDB. |
| QueryPassthrough | This option passes the query to MongoDB
as-is. |
| Readonly | You can use this property to enforce
read-only access to MongoDB from the provider. |
| ReadPreference | Set this to a strategy for reading from a
replica set. Accepted values are primary, primaryPreferred, secondary,
secondaryPreferred, and nearest. |
| RowScanDepth | The maximum number of rows to scan to look
for the columns available in a table. |
| SlaveOK | This property sets whether the provider is
allowed to read from secondary (slave) servers. |
| Timeout | The value in seconds until the timeout
error is thrown, canceling the operation. |
| TypeDetectionScheme | Comma-separated options for how the
provider will scan the data to determine the fields and datatypes in each document
collection. |
| UseFindAPI | Execute MongoDB queries using
db.collection.find(). |