DataSourceInMemoryStorage.RegisterDataSource(String, XElement) Method

Registers the specified data source in the current DataSourceInMemoryStorage.

Namespace: DevExpress.DashboardWeb

Assembly: DevExpress.Dashboard.v18.2.Web.dll


public void RegisterDataSource(
    string dataSourceId,
    XElement rootElement
Public Sub RegisterDataSource(
    dataSourceId As String,
    rootElement As XElement


Type Name Description
String dataSourceId

A String that is the data source identifier.

XElement rootElement

A XElement object that specifies the XML element.


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

See Also