Share via


ServerReport.IsQueryExecutionAllowed Method ()

 

Indicates whether the report can execute queries.

Namespace:   Microsoft.Reporting.WinForms
Assembly:  Microsoft.ReportViewer.WinForms (in Microsoft.ReportViewer.WinForms.dll)

Syntax

public bool IsQueryExecutionAllowed()
public:
bool IsQueryExecutionAllowed()
member IsQueryExecutionAllowed : unit -> bool
Public Function IsQueryExecutionAllowed As Boolean

Return Value

Type: System.Boolean

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

ServerReport Class
Microsoft.Reporting.WinForms Namespace

Return to top