Partager via


clsCollection

[!REMARQUE]

  Cette fonctionnalité sera supprimée dans la prochaine version de Microsoft SQL Server. Évitez d'utiliser cette fonctionnalité dans de nouveaux travaux de développement, et modifiez dès que possible les applications qui utilisent actuellement cette fonctionnalité.

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.

Notes

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