Skip to main content
All docs
V24.1

MongoDBDataConnection.CreateConnectionString(Boolean) Method

Creates a connection string to a MongoDB instance.

Namespace: DevExpress.DataAccess.MongoDB

Assembly: DevExpress.DataAccess.v24.1.dll

NuGet Packages: DevExpress.DataAccess, DevExpress.Win.PivotGrid, DevExpress.Win.TreeMap

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