QueryDefinition Class

Definition

表示为订阅检索数据的查询。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")]
[System.Serializable]
public class QueryDefinition
type QueryDefinition = class
Public Class QueryDefinition
Inheritance
QueryDefinition
Attributes

Constructors

QueryDefinition()

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

Properties

CommandText

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

CommandType

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

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

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

Applies to