Compartir a través de


Clase Query

Represents a query.

Jerarquía de herencia

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

Espacio de nombres:  Microsoft.ReportingServices.RdlObjectModel
Ensamblado:  Microsoft.ReportingServices.Designer.Controls (en Microsoft.ReportingServices.Designer.Controls.dll)

Sintaxis

'Declaración
Public Class Query _
    Inherits QueryBase
'Uso
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

El tipo Query expone los siguientes miembros.

Constructores

  Nombre Descripción
Método público Query Initializes a new instance of the Query class.

Arriba

Propiedades

  Nombre Descripción
Propiedad pública AutoGenerated Gets or sets a value that indicates whether this query is automatically generated. (Se hereda de QueryBase.)
Propiedad pública CommandText Gets or sets the command text. (Se hereda de QueryBase.)
Propiedad pública CommandType Gets or sets the command type. (Se hereda de QueryBase.)
Propiedad pública ComponentMetadata Gets or sets the component metadata. (Se hereda de ReportObject.)
Propiedad pública DataSource Gets the query data source.
Propiedad pública DataSourceName Gets or sets the data source name.
Propiedad pública DesignerState Gets or sets the current state of the object model in Report Designer. (Se hereda de QueryBase.)
Propiedad pública Hidden Gets or sets a value that indicates whether this query is hidden. (Se hereda de QueryBase.)
Propiedad pública MdxQuery Gets or sets the MDX query. (Se hereda de QueryBase.)
Propiedad pública Parent The parent of this report object. (Se hereda de ReportObjectBase.)
Propiedad pública QueryParameters Gets or sets a collection of query parameters.
Propiedad pública RQDDesignerState Gets or sets the current state of the query designer. (Se hereda de QueryBase.)
Propiedad pública Site Infraestructura. Gets or sets the site associated with the ReportObject object. (Se hereda de ReportObject.)
Propiedad pública SuppressAutoUpdate Gets or sets a value that indicates whether to suppress automatic update. (Se hereda de QueryBase.)
Propiedad pública Timeout Gets or sets the query time out. (Se hereda de QueryBase.)
Propiedad pública UseGenericDesigner Gets or sets a value that indicates whether to use a generic designer. (Se hereda de QueryBase.)

Arriba

Métodos

  Nombre Descripción
Método público DeepClone Returns a deep clone of this ReportObject instance. (Se hereda de ReportObject.)
Método público Equals(Object) Tests the equality of this object and another object. (Se hereda de QueryBase.)
Método público Equals(QueryBase) Tests the equality of this object and another QueryBase object. (Se hereda de QueryBase.)
Método protegido Finalize (Se hereda de Object.)
Método público GetContainingDataScopes Infraestructura. Returns the list of report object that contains data scopes. (Se hereda de ReportObject.)
Método protegido GetDataScopesForDefaultImpl Infraestructura. Returns the data scopes for default implementation. (Se hereda de ReportObject.)
Método protegido GetDependenciesCore Infraestructura. Gets the list of dependencies core of the query. (Invalida ReportObject.GetDependenciesCore(IList<ReportObject>).)
Método público GetHashCode Gets a unique hash code for the current QueryBase instance. (Se hereda de QueryBase.)
Método público GetType (Se hereda de Object.)
Método público Initialize Initializes the current Query instance. (Invalida QueryBase.Initialize().)
Método protegido InitializeForDesigner Infraestructura. Initializes the report object for designer. (Se hereda de ReportObject.)
Método protegido MemberwiseClone (Se hereda de Object.)
Método protegido OnChildPropertyChanged Infraestructura. Raises an event when the property of the child was changed. (Se hereda de ReportObject.)
Método protegido OnPropertyChanged Infraestructura. Raises an event when the property was changed. (Se hereda de ReportObject.)
Método protegido RdlSemanticEqualsCore Infraestructura. Indicates whether the RDL semantic is equal to the core objects. (Invalida QueryBase.RdlSemanticEqualsCore(ReportObject, ICollection<ReportObject>).)
Método protegido SavePropertyValue<T> Infraestructura. Saves the property value of the report object. (Se hereda de ReportObject.)
Método público ToString (Se hereda de Object.)

Arriba

Campos

  Nombre Descripción
Campo protegido m_autoGenerated Infraestructura. Specifies whether this query is automatically generated. (Se hereda de QueryBase.)
Campo protegido m_designerState Infraestructura. Specifies the current state of the object model in Report Designer. (Se hereda de QueryBase.)
Campo protegido m_hidden Infraestructura. Specifies whether this query is hidden. (Se hereda de QueryBase.)
Campo protegido m_suppressAutoUpdate Infraestructura. Specifies whether to suppress automatic update. (Se hereda de QueryBase.)
Campo protegido m_useGenericDesigner Infraestructura. Specifies whether to use a generic designer. (Se hereda de QueryBase.)

Arriba

Implementaciones de interfaces explícitas

  Nombre Descripción
Implementación de interfaces explícitasMétodo privado IDisposable.Dispose Infraestructura. Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources. (Se hereda de ReportObject.)
Implementación de interfaces explícitasEvento privado IComponent.Disposed Infraestructura. Occurs when the ReportObject object is disposed. (Se hereda de ReportObject.)

Arriba

Seguridad para subprocesos

Cualquier miembro público static (Shared en Visual Basic) de este tipo es seguro para subprocesos. No se garantiza que los miembros de instancia sean seguros para subprocesos.

Vea también

Referencia

Espacio de nombres Microsoft.ReportingServices.RdlObjectModel