ServerReport.IsQueryExecutionAllowed Method
Indicates whether the report can execute queries.
Namespace: Microsoft.Reporting.WinForms
Assembly: Microsoft.ReportViewer.WinForms (in microsoft.reportviewer.winforms.dll)
Syntax
'Declaration
Public Function IsQueryExecutionAllowed As Boolean
'Usage
Dim instance As ServerReport
Dim returnValue As Boolean
returnValue = instance.IsQueryExecutionAllowed
public bool IsQueryExecutionAllowed ()
public:
bool IsQueryExecutionAllowed ()
public boolean IsQueryExecutionAllowed ()
public function IsQueryExecutionAllowed () : boolean
Return Value
A Boolean value indicating whether the report can execute queries.
Remarks
Returns false if executing from a snapshot.
This may be used to determine if a report can execute queries for report data or for valid or default values of parameters.
See Also
Reference
ServerReport Class
ServerReport Members
Microsoft.Reporting.WinForms Namespace