Class QueryInfo
Contains database query information including connection details and command configuration.
Namespace: Telerik.Reporting.Data.Schema
Assembly: Telerik.Reporting.Data.Schema.dll
Syntax
public class QueryInfo : ConnectionInfo
Remarks
Extends ConnectionInfo with query-specific properties for SQL execution and timeout settings.
Constructors
QueryInfo()
Initializes a new instance of the QueryInfo class.
Declaration
public QueryInfo()
Properties
CommandTimeout
Gets or sets the command timeout in seconds for query execution.
Declaration
public int CommandTimeout { get; set; }
Property Value
|
System.Int32
|
Remarks
Specifies how long to wait for the query to execute before timing out, with zero indicating no timeout.
SelectCommand
Gets or sets the SQL command text or stored procedure name to execute.
Declaration
public string SelectCommand { get; set; }
Property Value
|
System.String
|
Remarks
This property is required and contains the actual SQL statement or procedure name for data retrieval.
SelectCommandType
Gets or sets the type of SQL command to execute (text or stored procedure).
Declaration
public SqlDataSourceCommandType SelectCommandType { get; set; }
Property Value
|
SqlDataSourceCommandType
|
Remarks
Determines whether the SelectCommand property contains SQL text or a stored procedure name.