Skip to main content
All docs
V23.2

MongoDBAuthenticationInfo.CreateFromXml(XElement) Method

Creates MongoDB authentication information from an XML element.

Namespace: DevExpress.DataAccess.ConnectionParameters

Assembly: DevExpress.DataAccess.v23.2.dll

NuGet Packages: DevExpress.DataAccess, DevExpress.Win.PivotGrid, DevExpress.Win.TreeMap

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