QueryDefinition QueryDefinition QueryDefinition Class


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

public ref class QueryDefinition
public class QueryDefinition
Public Class QueryDefinition


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 a value for the Timeout property is specified.