A Member object can represent either a Member of a Level in a CubeDef or a Member of a Position along an Axis in a Cellset. The properties of a Member are slightly different depending on the context in which it is used.
A Member of a CubeDef has a Children collection that contains child members of the current member on the next lower level in the hierarchy. For a Member of a Cellset, the Children collection is always empty.
A Member of a Cellset has two properties, DrilledDown and ParentSameAsPrev, which are useful when displaying the Cellset. An error will occur if these properties are accessed on a member of a CubeDef.
Remarks
With the collections and properties of a Member object in a CubeDef, you can do the following:
With the collections and properties of a Member of a Position along an Axis, you can do the following:
The Properties collection contains provider-supplied properties. The following properties should be available, but the actual property list may differ depending upon the implementation of the provider. See the documentation for your provider for a more complete list of available properties.
Name | Description |
CatalogName | The name of the catalog to which this cube belongs. |
SchemaName | The name of the schema to which this cube belongs. |
CubeName | The name of the cube. |
DimensionUniqueName | The unique name of the dimension. |
HierarchyUniqueName | The unique name of the hierarchy. |
LevelUniqueName | The unique name of the level. |
LevelNumber | The distance of the level from the root of the hierarchy. |
MemberOrdinal | The ordinal number of the member. |
MemberName | The name of the member. |
MemberUniqueName | The unique name of the member. |
MemberType | The type of the member. |
MemberGUID | The GUID of the member. |
MemberCaption | A label or caption associated with the member. |
ChildrenCardinality | The number of children that the member has. |
ParentLevel | The level number of the member's parent. |
ParentUniqueName | The unique name of the member's parent. |
ParentCount | The count of the number of parents that this member has. |
Description | A meaningful description of the member. |