Skip to main content
A newer version of this page is available. .
All docs
V21.2

MongoDBAuthenticationInfo.CreateFromXml(XElement) Method

Creates MongoDB authentication information from an XML element.

Namespace: DevExpress.DataAccess.ConnectionParameters

Assembly: DevExpress.DataAccess.v21.2.dll

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

Declaration

public static MongoDBAuthenticationInfo CreateFromXml(
    XElement element
)

Parameters

Name Type Description
element XElement

An element that contains MongoDB authentication information in XML format.

Returns

Type Description
MongoDBAuthenticationInfo

An object that contains MongoDB authentication information.

See Also