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

MongoDBAuthenticationInfo.CreateFromXml(XElement) Method

Creates MongoDB authentication information from an XML element.

Namespace: DevExpress.DataAccess.ConnectionParameters

Assembly: DevExpress.DataAccess.v22.2.dll

NuGet Package: DevExpress.DataAccess

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