Skip to main content
A newer version of this page is available. .

DataSourceInMemoryStorage.RegisterDataSource(XElement) Method

Registers the specified data source in the current DataSourceInMemoryStorage.

Namespace: DevExpress.DashboardWeb

Assembly: DevExpress.Dashboard.v19.1.Web.dll

Declaration

public void RegisterDataSource(
    XElement rootElement
)

Parameters

Name Type Description
rootElement XElement

A XElement object that specifies the XML element.

Remarks

Use the SaveToXml methods to save the XML definition of the SQL data source. For instance, the DashboardSqlDataSource exposes the SqlDataSource.SaveToXml method.

The following code snippet (auto-collected from DevExpress Examples) contains a reference to the RegisterDataSource(XElement) method.

Note

The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

See Also