Skip to main content
All docs
V24.1

MongoDBDataSourceUIHelper.ConfigureConnection(MongoDBDataSourceBase, ConfigureMongoDBConnectionContext) Method

Invokes the Connection Editor with the specified settings for the MongoDB Data Source.

Namespace: DevExpress.DataAccess.UI.MongoDB

Assembly: DevExpress.DataAccess.v24.1.UI.dll

NuGet Package: DevExpress.DataAccess.UI

Declaration

public static bool ConfigureConnection(
    this MongoDBDataSourceBase dataSource,
    ConfigureMongoDBConnectionContext context
)

Parameters

Name Type Description
dataSource MongoDBDataSourceBase

A MongoDB data source.

context DevExpress.DataAccess.UI.MongoDB.ConfigureMongoDBConnectionContext

An object that contains settings for the editor.

Returns

Type Description
Boolean

true if a user clicked the Finish button to close the editor; otherwise, false.

See Also