DataSourceInMemoryStorage.RegisterDataSource(String, XElement) Method
Registers the specified data source in the current DataSourceInMemoryStorage.
Namespace: DevExpress.DashboardWeb
Assembly: DevExpress.Dashboard.v24.1.Web.dll
NuGet Package: DevExpress.Web.Dashboard.Common
Declaration
Parameters
Name | Type | Description |
---|---|---|
dataSourceId | String | A String that is the data source identifier. |
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.
Related GitHub Examples
The following code snippets (auto-collected from DevExpress Examples) contain references to the RegisterDataSource(String, 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.