Skip to main content
All docs
V22.2

MongoDBDataConnection.CreateConnectionString(Boolean) Method

Creates a connection string to a MongoDB instance.

Namespace: DevExpress.DataAccess.MongoDB

Assembly: DevExpress.DataAccess.v22.2.dll

NuGet Package: DevExpress.DataAccess

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