ManagedDashboardAddQueryFromFile Method |
|
DataPA OpenAnalytics 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 public DashboardQuery AddQueryFromFile(
string QueryFileName,
ref string ErrorMessage = ""
)
Public Function AddQueryFromFile (
QueryFileName As String,
Optional ByRef ErrorMessage As String = ""
) As DashboardQuery
public:
virtual DashboardQuery^ AddQueryFromFile(
String^ QueryFileName,
String^% ErrorMessage = L""
) sealed
function AddQueryFromFile(QueryFileName, 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:
DashboardQueryThe added query if the query has been successfully added to the dashboard.
Remarks See Also