Freigeben über


clsAggregation

ms133829.note(de-de,SQL.90).gifHinweis:
  Dieses Feature wird in der nächsten Version von Microsoft SQL Server entfernt. Verwenden Sie dieses Feature nicht zum Entwickeln neuer Anwendungen, und planen Sie das Ändern von Anwendungen, in denen es zurzeit verwendet wird, zum frühstmöglichen Zeitpunkt ein.

An object of ClassType clsAggregation provides a specific implementation of the Decision Support Objects (DSO) MDStore interface. Each instance of a clsAggregation object represents a unique DSO aggregation. This object provides collections, methods, and properties through the MDStore interface.

Beispiel

Use the following code to list the aggregations contained within a partition:

'Assume an object (dsoServer) of ClassType clsServer exists
    Dim dsoDB As MDStore
    Dim dsoCube As MDStore
    Dim dsoPart As MDStore
    Dim dsoAgg As MDStore
    
    Set dsoDB = dsoServer.MDStores(1)   'Database
    Set dsoCube = dsoDB.MDStores(1)     'Cube
    Set dsoPart = dsoCube.MDStores(1)   'Partition
    
    'MDStores collection of a partition object
    'contains objects of ClassType clsAggregation
    Debug.Print " # Aggregations = " & dsoPart.MDStores.Count

Siehe auch

Verweis

Collections, clsAggregation
MDStore Interface
Methods, clsAggregation
Properties, clsAggregation

Andere Ressourcen

Aggregationen und Aggregationsentwürfe (SSAS)

Hilfe und Informationen

Informationsquellen für SQL Server 2005