Condividi tramite


clsCollection

[!NOTA]

  Questa caratteristica verrà rimossa a partire dalla prossima versione di Microsoft SQL Server. Non utilizzare questa caratteristica in un nuovo progetto di sviluppo e modificare non appena possibile le applicazioni in cui è attualmente implementata.

A Decision Support Objects (DSO) collection is an object similar to a standard Microsoft® Visual Basic® Collection object. Unlike typical Visual Basic collections, however, DSO collections can contain only objects of the same type, determined by the ClassType property of the contained DSO objects. For example, the Dimensions collection can contain only objects of the object classes that apply to dimensions, such as clsDatabaseDimension, clsCubeDimension, clsPartitionDimension, and clsAggregationDimension. Collections are provided with methods and properties through their default interface, the OlapCollection interface, for interacting with them.

Osservazioni

The ContainedClassType property of the clsCollection object can be used to determine the objects allowed in a collection.