DataPA Enterprise Dashboard Controls API Reference
Allows a query to be added to the dashboard from a query file.
Namespace: DataPAEnterpriseDashboardAssembly: DataPAEnterpriseDashboard (in DataPAEnterpriseDashboard.dll) Version: 1.0.90.0 (1.0.90.0)
Syntax
C# |
---|
public DashboardQuery AddQueryFromFile(
string QueryFileName,
ref string ErrorMessage = ""
) |
Visual Basic |
---|
Public Function AddQueryFromFile (
QueryFileName As String,
Optional ByRef ErrorMessage As String = ""
) As DashboardQuery |
Visual C++ |
---|
public:
virtual DashboardQuery^ AddQueryFromFile(
String^ QueryFileName,
String^% ErrorMessage = L""
) sealed |
Parameters
- QueryFileName
- Type: System..::..String
The fully qualified path to the query file.
- ErrorMessage (Optional)
- Type: System..::..String%
An optional output parameter that will contain any error message if the function fails.
Return Value
Type:
DashboardQueryThe added query if the query has been successfully added to the dashboard.
Remarks
See Also