Query Class

Definition

Represents a query.

public ref class Query : Microsoft::ReportingServices::RdlObjectModel::QueryBase
[System.ComponentModel.TypeConverter(typeof(Microsoft.ReportingServices.RdlObjectModel.Query/QueryConverter))]
public class Query : Microsoft.ReportingServices.RdlObjectModel.QueryBase
[<System.ComponentModel.TypeConverter(typeof(Microsoft.ReportingServices.RdlObjectModel.Query/QueryConverter))>]
type Query = class
    inherit QueryBase
Public Class Query
Inherits QueryBase
Inheritance
Attributes

Constructors

Query()

Initializes a new instance of the Query class.

Fields

m_autoGenerated

Specifies whether this query is automatically generated.

(Inherited from QueryBase)
m_designerState

Specifies the current state of the object model in Report Designer.

(Inherited from QueryBase)
m_hidden

Specifies whether this query is hidden.

(Inherited from QueryBase)
m_suppressAutoUpdate

Specifies whether to suppress automatic update.

(Inherited from QueryBase)
m_useGenericDesigner

Specifies whether to use a generic designer.

(Inherited from QueryBase)

Properties

AutoGenerated

Gets or sets a value that indicates whether this query is automatically generated.

(Inherited from QueryBase)
CommandText

Gets or sets the command text.

(Inherited from QueryBase)
CommandType

Gets or sets the command type.

(Inherited from QueryBase)
ComponentMetadata

Gets or sets the component metadata.

(Inherited from ReportObject)
DataSource

Gets the query data source.

DataSourceName

Gets or sets the data source name.

DesignerState

Gets or sets the current state of the object model in Report Designer.

(Inherited from QueryBase)
Hidden

Gets or sets a value that indicates whether this query is hidden.

(Inherited from QueryBase)
MdxQuery

Gets or sets the MDX query.

(Inherited from QueryBase)
Parent

The parent of this report object.

(Inherited from ReportObjectBase)
QueryParameters

Gets or sets a collection of query parameters.

RQDDesignerState (Inherited from QueryBase)
Site

Gets or sets the site associated with the ReportObject object.

(Inherited from ReportObject)
SuppressAutoUpdate

Gets or sets a value that indicates whether to suppress automatic update.

(Inherited from QueryBase)
Timeout

Gets or sets the query time out.

(Inherited from QueryBase)
UseGenericDesigner

Gets or sets a value that indicates whether to use a generic designer.

(Inherited from QueryBase)

Methods

DeepClone()

Returns a deep clone of this ReportObject instance.

(Inherited from ReportObject)
Equals(Object)

Tests the equality of this object and another object.

(Inherited from QueryBase)
Equals(QueryBase)

Tests the equality of this object and another QueryBase object.

(Inherited from QueryBase)
GetContainingDataScopes()

Returns the list of report object that contains data scopes.

(Inherited from ReportObject)
GetDataScopesForDefaultImpl(IContainedObject)

Returns the data scopes for default implementation.

(Inherited from ReportObject)
GetDependenciesCore(IList<ReportObject>)

Gets the list of dependencies core of the query.

GetHashCode()

Gets a unique hash code for the current QueryBase instance.

(Inherited from QueryBase)
Initialize()

Initializes the current Query instance.

InitializeForDesigner()

Initializes the report object for designer.

(Inherited from ReportObject)
OnChildPropertyChanged(Int32, Object, Object)

Raises an event when the property of the child was changed.

(Inherited from ReportObject)
OnPropertyChanged(Int32, Object, Object)

Raises an event when the property was changed.

(Inherited from ReportObject)
RdlSemanticEqualsCore(ReportObject, ICollection<ReportObject>)

Indicates whether the RDL semantic is equal to the core objects.

SavePropertyValue<T>(String, T, ReportObject.SwapValue<T>)

Saves the property value of the report object.

(Inherited from ReportObject)

Explicit Interface Implementations

IComponent.Disposed

Occurs when the ReportObject object is disposed.

(Inherited from ReportObject)
IDisposable.Dispose()

Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.

(Inherited from ReportObject)

Applies to