The requested page is not available for the requested platform. You are viewing the content for Default platform.

DataSourceInMemoryStorage.RegisterDataSource(String, XElement) Method

Registers the specified data source in the current DataSourceInMemoryStorage.

Namespace: DevExpress.DashboardWeb

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


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


Name Type Description
dataSourceId String

A String that is the data source identifier.

rootElement XElement

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