Partilhar via


Método ServerReport.IsQueryExecutionAllowed

Indicates whether the report can execute queries.

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

Sintaxe

'Declaração
Public Function IsQueryExecutionAllowed As Boolean
public bool IsQueryExecutionAllowed()
public:
bool IsQueryExecutionAllowed()
member IsQueryExecutionAllowed : unit -> bool 
public function IsQueryExecutionAllowed() : boolean

Valor de retorno

Tipo: Boolean
A Boolean value indicating whether the report can execute queries.

Comentários

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.

Consulte também

Referência

ServerReport Classe

Namespace Microsoft.Reporting.WinForms