Skip to main content
All docs
V24.2

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.2.UI.dll

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