QueryDefinition QueryDefinition QueryDefinition QueryDefinition Class


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

public ref class QueryDefinition
public class QueryDefinition
type QueryDefinition = class
Public Class QueryDefinition


QueryDefinition() QueryDefinition() QueryDefinition() QueryDefinition()

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


CommandText CommandText CommandText CommandText

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

CommandType CommandType CommandType CommandType

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

Timeout Timeout Timeout Timeout

获取或设置在放弃查询之前 Report Server 等待查询返回结果的时间长度 (以秒为单位)。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 TimeoutSpecified

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