DataSourceInMemoryStorage.RegisterDataSource(String, XElement) Method

Registers the specified data source in the current DataSourceInMemoryStorage.

Namespace: DevExpress.DashboardWeb

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

Declaration

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

Parameters

Type Name Description
String dataSourceId

A String that is the data source identifier.

XElement rootElement

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.

See Also