Skip to main content
All docs
V25.1
  • MongoDBDataConnection.CreateConnectionString(Boolean) Method

    Creates a connection string to a MongoDB instance.

    Namespace: DevExpress.DataAccess.MongoDB

    Assembly: DevExpress.DataAccess.v25.1.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