The Query type exposes the following members.

Properties

  Name Description
Public property CommandText
Gets or sets the query to execute to obtain the data for the report. Can be specified as expression.
Public property CommandType
Gets or sets the value indicating what type of query is contained in the CommandText.
Public property DataSourceName
Gets or sets name of DataSource to execute the query against.
Public property Owner
Gets a DataSet object containing this Query object.
Public property Parameters
Gets the QueryParameters collection containing a list of parameters that are passed to the data source as part of the query.
Public property Timeout
Gets or sets the number of seconds to allow for the query to run before timing out. Must be nonnegative. If zero (default), the query should not time out. Max: 2147483647.

See Also