--- title: "Dimensions Collection (ADO MD) | Microsoft Docs" ms.prod: sql ms.prod_service: connectivity ms.technology: connectivity ms.custom: "" ms.date: "01/19/2017" ms.reviewer: "" ms.topic: conceptual apitype: "COM" f1_keywords: - "Dimensions" - "CubeDef::Dimensions" helpviewer_keywords: - "Dimensions collection [ADO MD]" ms.assetid: eaf6f4e7-2ea0-49a3-89ee-e219e025257c author: MightyPen ms.author: genemi --- # Dimensions Collection (ADO MD) Contains the [Dimension](../../../ado/reference/ado-md-api/dimension-object-ado-md.md) objects that make up a cube. ## Remarks **Dimensions** is a standard ADO collection. With the properties and methods of a collection, you can do the following: - Obtain the number of objects in the collection with the [Count](../../../ado/reference/ado-api/count-property-ado.md) property. - Return an object from the collection with the default [Item](../../../ado/reference/ado-api/item-property-ado.md) property. - Update the objects in the collection from the provider with the [Refresh](../../../ado/reference/ado-api/refresh-method-ado.md) method. This section contains the following topic. - [Properties, Methods, and Events](../../../ado/reference/ado-md-api/dimensions-collection-properties-methods-and-events.md) ## See Also [Catalog Example (VB)](../../../ado/reference/ado-md-api/catalog-example-vb.md) [CubeDef Object (ADO MD)](../../../ado/reference/ado-md-api/cubedef-object-ado-md.md) [Dimension Object (ADO MD)](../../../ado/reference/ado-md-api/dimension-object-ado-md.md)