Udostępnij za pośrednictwem


ServerReport.IsQueryExecutionAllowed Method

Indicates whether the report can execute queries.

Namespace: Microsoft.Reporting.WebForms
Assembly: Microsoft.ReportViewer.WebForms (in microsoft.reportviewer.webforms.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.WebForms Namespace