Freigeben über


Aggregation-Klasse

Defines a single aggregation. This class cannot be inherited.

Vererbungshierarchie

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

Namespace:  Microsoft.AnalysisServices
Assembly:  Microsoft.AnalysisServices (in Microsoft.AnalysisServices.dll)

Syntax

'Declaration
<GuidAttribute("7BA79D5E-87D3-4842-905E-DFBDA0949FBC")> _
Public NotInheritable Class Aggregation _
    Inherits NamedComponent _
    Implements ICloneable
'Usage
Dim instance As Aggregation
[GuidAttribute("7BA79D5E-87D3-4842-905E-DFBDA0949FBC")]
public sealed class Aggregation : NamedComponent, 
    ICloneable
[GuidAttribute(L"7BA79D5E-87D3-4842-905E-DFBDA0949FBC")]
public ref class Aggregation sealed : public NamedComponent, 
    ICloneable
[<SealedAttribute>]
[<GuidAttribute("7BA79D5E-87D3-4842-905E-DFBDA0949FBC")>]
type Aggregation =  
    class 
        inherit NamedComponent 
        interface ICloneable 
    end
public final class Aggregation extends NamedComponent implements ICloneable

Der Aggregation-Typ macht folgende Elemente verfügbar.

Konstruktoren

  Name Beschreibung
Öffentliche Methode Aggregation() Initializes a new instance of the Aggregation class using the default values.
Öffentliche Methode Aggregation(String, String) Initializes a new instance of the Aggregation class using a name and an identifier.

Zum Anfang

Eigenschaften

  Name Beschreibung
Öffentliche Eigenschaft Annotations Gets a collection within which you can store custom data. (Geerbt von ModelComponent.)
Öffentliche Eigenschaft Container (Geerbt von Component.)
Öffentliche Eigenschaft Description Gets or sets the description of the component. (Geerbt von NamedComponent.)
Öffentliche Eigenschaft Dimensions Gets the collection of dimensions for the Aggregation object.
Geschützte Eigenschaft FriendlyName Returns a user-friendly name. (Geerbt von NamedComponent.)
Öffentliche Eigenschaft ID Gets or sets the identifier of the component. (Geerbt von NamedComponent.)
Geschützte Eigenschaft KeyForCollection Returns the key used in collections. (Geerbt von NamedComponent.)
Öffentliche Eigenschaft Name Gets or sets the name of the component. (Geerbt von NamedComponent.)
Öffentliche Eigenschaft OwningCollection Gets or sets the collection that contains the ModelComponent. (Geerbt von ModelComponent.)
Öffentliche Eigenschaft Parent Gets the parent AggregationDesign object for the current Aggregation object.
Öffentliche Eigenschaft ParentCube Gets the parent Cube object for the current Aggregation object.
Öffentliche Eigenschaft ParentDatabase Gets the parent Database object for the current Aggregation object.
Öffentliche Eigenschaft ParentMeasureGroup Gets the parent MeasureGroup object for the current Aggregation object.
Öffentliche Eigenschaft ParentServer Gets the parent Server object for the current Aggregation object.
Öffentliche Eigenschaft Site Infrastruktur Gets or sets the site of the component. (Geerbt von NamedComponent.)
Öffentliche Eigenschaft SiteID Infrastruktur Gets or sets the identifier for the site associated with the component. (Geerbt von NamedComponent.)

Zum Anfang

Methoden

  Name Beschreibung
Geschützte Methode AddToContainer Infrastruktur Adds a ModelComponent object to the specified container. (Geerbt von ModelComponent.)
Geschützte Methode AfterInsert Infrastruktur Displays a ModelComponent object after added to the specified index. (Geerbt von ModelComponent.)
Geschützte Methode AfterMove Infrastruktur Displays a ModelComponent object after moving to the specified index. (Geerbt von ModelComponent.)
Geschützte Methode AfterRemove Infrastruktur Displays a ModelComponentCollection after a ModelComponent object is removed. (Geerbt von ModelComponent.)
Geschützte Methode BeforeRemove Infrastruktur Removes the ModelComponent object before the cleanup. (Geerbt von ModelComponent.)
Öffentliche Methode Clone Creates a new full copy of an object.
Öffentliche Methode CopyTo Creates a full copy of object into the existing object passed as parameter.
Öffentliche Methode CreateObjRef Sicherheitskritisch (Geerbt von MarshalByRefObject.)
Öffentliche Methode Dispose (Geerbt von Component.)
Öffentliche Methode Equals (Geerbt von Object.)
Öffentliche Methode GetHashCode (Geerbt von Object.)
Öffentliche Methode GetLifetimeService Sicherheitskritisch (Geerbt von MarshalByRefObject.)
Öffentliche Methode GetType (Geerbt von Object.)
Öffentliche Methode InitializeLifetimeService Sicherheitskritisch (Geerbt von MarshalByRefObject.)
Geschützte Methode RemoveFromContainer Infrastruktur Removes a ModelComponent object from the specified container. (Geerbt von ModelComponent.)
Öffentliche Methode Submit() Infrastruktur Submits a ModelComponent object. (Geerbt von ModelComponent.)
Öffentliche Methode Submit(Boolean) Infrastruktur Submits a ModelComponent object. (Geerbt von ModelComponent.)
Öffentliche Methode ToString Returns a string containing the name of the component. (Geerbt von NamedComponent.)
Öffentliche Methode Validate(ValidationErrorCollection) Validates the element to which it is appended; returns any errors encountered in a collection. (Geerbt von ModelComponent.)
Öffentliche Methode 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. (Geerbt von ModelComponent.)
Öffentliche Methode Validate(ValidationErrorCollection, Boolean, ServerEdition) Validates the element to which it is appended; returns any errors encountered into a collection. Also contains a parameter to enable return of detailed errors. (Überschreibt NamedComponent.Validate(ValidationErrorCollection, Boolean, ServerEdition).)

Zum Anfang

Ereignisse

  Name Beschreibung
Öffentliches Ereignis Disposed (Geerbt von Component.)

Zum Anfang

Explizite Schnittstellenimplementierungen

  Name Beschreibung
Explizite SchnittstellenimplementierungPrivate Methode ICloneable.Clone Creates and returns a new object that is a copy of the current instance of the Aggregation object.
Explizite SchnittstellenimplementierungPrivate Methode IFormattable.ToString Formats the value of the current instance using the specified format. (Geerbt von NamedComponent.)
Explizite SchnittstellenimplementierungPrivate Eigenschaft IHostableComponent.Host Gets or sets the IServiceProvider that is the host of the ModelComponent. (Geerbt von ModelComponent.)
Explizite SchnittstellenimplementierungPrivate Eigenschaft IModelComponent.FriendlyPath Gets a friendly path for the ModelComponent. (Geerbt von ModelComponent.)
Explizite SchnittstellenimplementierungPrivate Eigenschaft IModelComponent.OwningCollection Gets or sets the collection that owns the current object. (Geerbt von ModelComponent.)

Zum Anfang

Hinweise

Each aggregation consists of a set of dimensions, with a set of attributes for each dimension. For example, if an aggregation lists the Customer dimension, and the City and Gender attributes for that dimension, then there is an aggregation for the City/Gender combination.

Threadsicherheit

Alle öffentlichen static (Shared in Visual Basic)-Elemente dieses Typs sind Threadsicher. Für Instanzelemente wird die Threadsicherheit nicht gewährleistet.

Siehe auch

Verweis

Microsoft.AnalysisServices-Namespace