Skip to main content
All docs
V25.1
  • MongoDBAuthenticationInfo.CreateFromXml(XElement) Method

    Creates MongoDB authentication information from an XML element.

    Namespace: DevExpress.DataAccess.ConnectionParameters

    Assembly: DevExpress.DataAccess.v25.1.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