Partager via


Classe Query

Represents a query.

Hiérarchie d'héritage

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

Espace de noms :  Microsoft.ReportingServices.RdlObjectModel
Assembly :  Microsoft.ReportingServices.Designer.Controls (en Microsoft.ReportingServices.Designer.Controls.dll)

Syntaxe

'Déclaration
Public Class Query _
    Inherits QueryBase
'Utilisation
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

Le type Query expose les membres suivants.

Constructeurs

  Nom Description
Méthode publique Query Initializes a new instance of the Query class.

Haut de la page

Propriétés

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

Haut de la page

Méthodes

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

Haut de la page

Champs

  Nom Description
Champ protégé m_autoGenerated Infrastructure. Specifies whether this query is automatically generated. (hérité de QueryBase.)
Champ protégé m_designerState Infrastructure. Specifies the current state of the object model in Report Designer. (hérité de QueryBase.)
Champ protégé m_hidden Infrastructure. Specifies whether this query is hidden. (hérité de QueryBase.)
Champ protégé m_suppressAutoUpdate Infrastructure. Specifies whether to suppress automatic update. (hérité de QueryBase.)
Champ protégé m_useGenericDesigner Infrastructure. Specifies whether to use a generic designer. (hérité de QueryBase.)

Haut de la page

Implémentations d'interfaces explicites

  Nom Description
Implémentation d'interface expliciteMéthode privée IDisposable.Dispose Infrastructure. Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources. (hérité de ReportObject.)
Implémentation d'interface expliciteÉvénement privé IComponent.Disposed Infrastructure. Occurs when the ReportObject object is disposed. (hérité de ReportObject.)

Haut de la page

Sécurité des threads

Tous les membres publics static (Shared dans Visual Basic) de ce type sont thread-safe. Tous les membres de l'instance ne sont pas garantis comme étant thread-safe.

Voir aussi

Référence

Espace de noms Microsoft.ReportingServices.RdlObjectModel