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
[<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>]
type QueryDefinition = class
Public Class QueryDefinition
Inheritance
QueryDefinition
Attributes

Constructors

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

Gets or sets a value that indicates whether the Timeout property is specified.

Applies to