Compartir a través de


Clase AggregationInstance

Represents an instance of a defined Aggregation for a partition.

Jerarquía de herencia

System.Object
  System.MarshalByRefObject
    System.ComponentModel.Component
      Microsoft.AnalysisServices.ModelComponent
        Microsoft.AnalysisServices.NamedComponent
          Microsoft.AnalysisServices.AggregationInstance

Espacio de nombres:  Microsoft.AnalysisServices
Ensamblado:  Microsoft.AnalysisServices (en Microsoft.AnalysisServices.dll)

Sintaxis

'Declaración
<GuidAttribute("22940FE2-7C38-4243-9996-2FC8054500B2")> _
Public Class AggregationInstance _
    Inherits NamedComponent _
    Implements ICloneable
'Uso
Dim instance As AggregationInstance
[GuidAttribute("22940FE2-7C38-4243-9996-2FC8054500B2")]
public class AggregationInstance : NamedComponent, 
    ICloneable
[GuidAttribute(L"22940FE2-7C38-4243-9996-2FC8054500B2")]
public ref class AggregationInstance : public NamedComponent, 
    ICloneable
[<GuidAttribute("22940FE2-7C38-4243-9996-2FC8054500B2")>]
type AggregationInstance =  
    class 
        inherit NamedComponent 
        interface ICloneable 
    end
public class AggregationInstance extends NamedComponent implements ICloneable

El tipo AggregationInstance expone los siguientes miembros.

Constructores

  Nombre Descripción
Método público AggregationInstance() Initializes a new instance of the AggregationInstance class using the default values.
Método público AggregationInstance(String) Initializes a new instance of the AggregationInstance class using a name.
Método público AggregationInstance(String, String) Initializes a new instance of the AggregationInstance class using a name and an identifier.

Arriba

Propiedades

  Nombre Descripción
Propiedad pública AggregationType Defines the type of aggregation stored in AggregationInstance.
Propiedad pública Annotations Gets a collection within which you can store custom data. (Se hereda de ModelComponent.)
Propiedad protegida CanRaiseEvents (Se hereda de Component.)
Propiedad pública Container (Se hereda de Component.)
Propiedad pública Description Gets or sets the description of the component. (Se hereda de NamedComponent.)
Propiedad protegida DesignMode (Se hereda de Component.)
Propiedad pública Dimensions Returns the collection of dimensions associated with an AggregationInstance.
Propiedad protegida Events (Se hereda de Component.)
Propiedad protegida FriendlyName Returns a user-friendly name. (Se hereda de NamedComponent.)
Propiedad pública ID Gets or sets the identifier of the component. (Se hereda de NamedComponent.)
Propiedad protegida KeyForCollection Returns the key used in collections. (Se hereda de NamedComponent.)
Propiedad pública Measures Gets the collection of measures associated with an AggregationInstance.
Propiedad pública Name Gets or sets the name of the component. (Se hereda de NamedComponent.)
Propiedad pública OwningCollection Gets or sets the collection that contains the ModelComponent. (Se hereda de ModelComponent.)
Propiedad pública Parent Infraestructura. Gets the IModelComponent object that is the parent of the ModelComponent object. (Se hereda de ModelComponent.)
Propiedad pública Site Infraestructura. Gets or sets the site of the component. (Se hereda de NamedComponent.)
Propiedad pública SiteID Infraestructura. Gets or sets the identifier for the site associated with the component. (Se hereda de NamedComponent.)
Propiedad pública Source Gets or sets the table name for the aggregation, if different than the table associated with column binding.

Arriba

Métodos

  Nombre Descripción
Método protegido AddToContainer Infraestructura. Adds a ModelComponent object to the specified container. (Se hereda de ModelComponent.)
Método protegido AfterInsert Infraestructura. Displays a ModelComponent object after added to the specified index. (Se hereda de ModelComponent.)
Método protegido AfterMove Infraestructura. Displays a ModelComponent object after moving to the specified index. (Se hereda de ModelComponent.)
Método protegido AfterRemove Infraestructura. Displays a ModelComponentCollection after a ModelComponent object is removed. (Se hereda de ModelComponent.)
Método protegido BeforeRemove Infraestructura. Removes the ModelComponent object before the cleanup. (Se hereda de ModelComponent.)
Método público Clone Creates a new, full copy of the type of aggregation stored in [T:Microsoft.AnalysisServices.AggregationInstance.] object.
Método público CopyTo(AggregationInstance) Copies an AggregationInstance to the another object.
Método protegido CopyTo(ModelComponent) Infraestructura. Copies a ModelComponent object to the specified object. (Se hereda de ModelComponent.)
Método protegido CopyTo(NamedComponent) Infraestructura. Copies a NamedComponent object to the specified object. (Se hereda de NamedComponent.)
Método público CreateObjRef Importante para la seguridad. (Se hereda de MarshalByRefObject.)
Método público Dispose() (Se hereda de Component.)
Método protegido Dispose(Boolean) (Se hereda de Component.)
Método público Equals (Se hereda de Object.)
Método protegido Finalize (Se hereda de Component.)
Método público GetHashCode (Se hereda de Object.)
Método público GetLifetimeService Importante para la seguridad. (Se hereda de MarshalByRefObject.)
Método protegido GetService (Se hereda de Component.)
Método público GetType (Se hereda de Object.)
Método público InitializeLifetimeService Importante para la seguridad. (Se hereda de MarshalByRefObject.)
Método protegido MemberwiseClone() (Se hereda de Object.)
Método protegido MemberwiseClone(Boolean) (Se hereda de MarshalByRefObject.)
Método protegido RemoveFromContainer Infraestructura. Removes a ModelComponent object from the specified container. (Se hereda de ModelComponent.)
Método protegido Reset Infraestructura. Resets the component to its initial state. (Se hereda de NamedComponent.)
Método público Submit() Infraestructura. Submits a ModelComponent object. (Se hereda de ModelComponent.)
Método público Submit(Boolean) Infraestructura. Submits a ModelComponent object. (Se hereda de ModelComponent.)
Método público ToString Returns a string containing the name of the component. (Se hereda de NamedComponent.)
Método público Validate(ValidationErrorCollection) Validates the element to which it is appended; returns any errors encountered in a collection. (Se hereda de ModelComponent.)
Método público Validate(ValidationErrorCollection, Boolean) Validates the element to which it is appended; returns any errors encountered in a collection. Also contains a parameter to enable return of detailed errors. (Se hereda de ModelComponent.)
Método público Validate(ValidationErrorCollection, Boolean, ServerEdition) Determines whether the NamedComponent is valid. (Se hereda de NamedComponent.)

Arriba

Eventos

  Nombre Descripción
Evento público Disposed (Se hereda de Component.)

Arriba

Implementaciones de interfaces explícitas

  Nombre Descripción
Implementación de interfaces explícitasMétodo privado ICloneable.Clone Creates and returns a new object that is a copy of the current instance of this AggregationInstance object.
Implementación de interfaces explícitasMétodo privado IFormattable.ToString Formats the value of the current instance using the specified format. (Se hereda de NamedComponent.)
Implementación de interfaces explícitasPropiedad privada IHostableComponent.Host Gets or sets the IServiceProvider that is the host of the ModelComponent. (Se hereda de ModelComponent.)
Implementación de interfaces explícitasPropiedad privada IModelComponent.FriendlyPath Gets a friendly path for the ModelComponent. (Se hereda de ModelComponent.)
Implementación de interfaces explícitasPropiedad privada IModelComponent.OwningCollection Gets or sets the collection that owns the current object. (Se hereda de ModelComponent.)

Arriba

Comentarios

When a Partition uses an AggregationDesign to generate aggregations for that partition, each Aggregation in the AggregationDesign is instantiated for that partition. Multiple partitions can use the same AggregationDesign to generate multiple instances of a defined Aggregation. Also note that user defined aggregations can be created on a partition without going through the AggregationDesign object.

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.AnalysisServices