clsCollection

[!附註]

  下一版的 Microsoft SQL Server 將不再提供此功能。請勿在新的開發工作中使用此功能,並且儘速修改使用此功能的應用程式。

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.

備註

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