Share via


Query Class

Represents a query.

Inheritance Hierarchy

System.Object
  Microsoft.ReportingServices.RdlObjectModel.ReportObjectBase
    Microsoft.ReportingServices.RdlObjectModel.ReportObject
      Microsoft.ReportingServices.RdlObjectModel.QueryBase
        Microsoft.ReportingServices.RdlObjectModel.Query

Namespace:  Microsoft.ReportingServices.RdlObjectModel
Assembly:  Microsoft.ReportingServices.Designer.Controls (in Microsoft.ReportingServices.Designer.Controls.dll)

Syntax

'Declaration
Public Class Query _
    Inherits QueryBase
'Usage
Dim instance As Query
public class Query : QueryBase
public ref class Query : public QueryBase
type Query =  
    class 
        inherit QueryBase 
    end
public class Query extends QueryBase

The Query type exposes the following members.

Constructors

  Name Description
Public method Query Initializes a new instance of the Query class.

Top

Properties

  Name Description
Public property AutoGenerated Gets or sets a value that indicates whether this query is automatically generated. (Inherited from QueryBase.)
Public property CommandText Gets or sets the command text. (Inherited from QueryBase.)
Public property CommandType Gets or sets the command type. (Inherited from QueryBase.)
Public property ComponentMetadata Gets or sets the component metadata. (Inherited from ReportObject.)
Public property DataSource Gets the query data source.
Public property DataSourceName Gets or sets the data source name.
Public property DesignerState Gets or sets the current state of the object model in Report Designer. (Inherited from QueryBase.)
Public property Hidden Gets or sets a value that indicates whether this query is hidden. (Inherited from QueryBase.)
Public property MdxQuery Gets or sets the MDX query. (Inherited from QueryBase.)
Public property Parent The parent of this report object. (Inherited from ReportObjectBase.)
Public property QueryParameters Gets or sets a collection of query parameters.
Public property RQDDesignerState Gets or sets the current state of the query designer. (Inherited from QueryBase.)
Public property Site Infrastructure. Gets or sets the site associated with the ReportObject object. (Inherited from ReportObject.)
Public property SuppressAutoUpdate Gets or sets a value that indicates whether to suppress automatic update. (Inherited from QueryBase.)
Public property Timeout Gets or sets the query time out. (Inherited from QueryBase.)
Public property UseGenericDesigner Gets or sets a value that indicates whether to use a generic designer. (Inherited from QueryBase.)

Top

Methods

  Name Description
Public method DeepClone Returns a deep clone of this ReportObject instance. (Inherited from ReportObject.)
Public method Equals(Object) Tests the equality of this object and another object. (Inherited from QueryBase.)
Public method Equals(QueryBase) Tests the equality of this object and another QueryBase object. (Inherited from QueryBase.)
Protected method Finalize (Inherited from Object.)
Public method GetContainingDataScopes Infrastructure. Returns the list of report object that contains data scopes. (Inherited from ReportObject.)
Protected method GetDataScopesForDefaultImpl Infrastructure. Returns the data scopes for default implementation. (Inherited from ReportObject.)
Protected method GetDependenciesCore Infrastructure. Gets the list of dependencies core of the query. (Overrides ReportObject.GetDependenciesCore(IList<ReportObject>).)
Public method GetHashCode Gets a unique hash code for the current QueryBase instance. (Inherited from QueryBase.)
Public method GetType (Inherited from Object.)
Public method Initialize Initializes the current Query instance. (Overrides QueryBase.Initialize().)
Protected method InitializeForDesigner Infrastructure. Initializes the report object for designer. (Inherited from ReportObject.)
Protected method MemberwiseClone (Inherited from Object.)
Protected method OnChildPropertyChanged Infrastructure. Raises an event when the property of the child was changed. (Inherited from ReportObject.)
Protected method OnPropertyChanged Infrastructure. Raises an event when the property was changed. (Inherited from ReportObject.)
Protected method RdlSemanticEqualsCore Infrastructure. Indicates whether the RDL semantic is equal to the core objects. (Overrides QueryBase.RdlSemanticEqualsCore(ReportObject, ICollection<ReportObject>).)
Protected method SavePropertyValue<T> Infrastructure. Saves the property value of the report object. (Inherited from ReportObject.)
Public method ToString (Inherited from Object.)

Top

Fields

  Name Description
Protected field m_autoGenerated Infrastructure. Specifies whether this query is automatically generated. (Inherited from QueryBase.)
Protected field m_designerState Infrastructure. Specifies the current state of the object model in Report Designer. (Inherited from QueryBase.)
Protected field m_hidden Infrastructure. Specifies whether this query is hidden. (Inherited from QueryBase.)
Protected field m_suppressAutoUpdate Infrastructure. Specifies whether to suppress automatic update. (Inherited from QueryBase.)
Protected field m_useGenericDesigner Infrastructure. Specifies whether to use a generic designer. (Inherited from QueryBase.)

Top

Explicit Interface Implementations

  Name Description
Explicit interface implemetationPrivate method IDisposable.Dispose Infrastructure. Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources. (Inherited from ReportObject.)
Explicit interface implemetationPrivate event IComponent.Disposed Infrastructure. Occurs when the ReportObject object is disposed. (Inherited from ReportObject.)

Top

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Reference

Microsoft.ReportingServices.RdlObjectModel Namespace