Click or drag to resize
ManagedDashboardAddQueryFromFile Method DataPA OpenAnalytics
DataPA OpenAnalytics API Reference
Allows a query to be added to the dashboard from a query file.

Namespace: DataPAEnterpriseDashboard
Assembly: DataPAEnterpriseDashboard (in DataPAEnterpriseDashboard.dll) Version: 1.0.90.0 (1.0.90.0)
Syntax
public DashboardQuery AddQueryFromFile(
	string QueryFileName,
	ref string ErrorMessage = ""
)

Parameters

QueryFileName
Type: SystemString
The fully qualified path to the query file.
ErrorMessage (Optional)
Type: SystemString
An optional output parameter that will contain any error message if the function fails.

Return Value

Type: DashboardQuery
The added query if the query has been successfully added to the dashboard.
Remarks