QueryDefinition QueryDefinition QueryDefinition Class

定义

表示为订阅检索数据的查询。 Represents a query that retrieves the data for a subscription.

public ref class QueryDefinition
[System.CodeDom.Compiler.GeneratedCode("wsdl", "2.0.50727.3038")]
[System.ComponentModel.DesignerCategory("code")]
[System.Diagnostics.DebuggerStepThrough]
[System.Xml.Serialization.XmlType(Namespace="http://schemas.microsoft.com/sqlserver/reporting/2010/03/01/ReportServer")]
public class QueryDefinition
Public Class QueryDefinition
继承
QueryDefinitionQueryDefinitionQueryDefinition
属性

构造函数

QueryDefinition() QueryDefinition() QueryDefinition()

初始化 QueryDefinition 类的新实例。 Initializes a new instance of the QueryDefinition class.

属性

CommandText CommandText CommandText

获取或设置为获得报表数据而执行的查询文本。 Gets or sets the query text that is executed in order to obtain the report data.

CommandType CommandType CommandType

获取或设置查询的命令类型。 Gets or sets the command type for the query.

Timeout Timeout Timeout

获取或设置报表服务器等待查询返回结果的时间长度(单位秒),超过这段时间后,将放弃查询。 Gets or sets the length of time (in seconds) that the report server waits for a query to return results before abandoning the query.

TimeoutSpecified TimeoutSpecified TimeoutSpecified

获取或设置一个值,该值指示是否Timeout指定属性。 Gets or sets a value that indicates whether the Timeout property is specified.

适用于