Skip to main content
All docs
V24.2

MongoDBDataConnection.CreateConnectionString(Boolean) Method

Creates a connection string to a MongoDB instance.

Namespace: DevExpress.DataAccess.MongoDB

Assembly: DevExpress.DataAccess.v24.2.dll

Declaration

public string CreateConnectionString(
    bool blackoutCredentials
)

Parameters

Name Type Description
blackoutCredentials Boolean

true to remove user credentials from the connection string; otherwise, false.

Returns

Type Description
String

A connection string to a MongoDB instance.

See Also