Skip to main content
A newer version of this page is available. .
All docs
V21.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.v21.1.UI.dll

NuGet Packages: DevExpress.DataAccess.UI, DevExpress.Win.Design

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