Skip to main content
All docs
V24.2

MongoDBAuthenticationInfo.CreateFromXml(XElement) Method

Creates MongoDB authentication information from an XML element.

Namespace: DevExpress.DataAccess.ConnectionParameters

Assembly: DevExpress.DataAccess.v24.2.dll

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