UniqueName (Property)

Applies to:

OLAPLevelorHierarchyNew collection

Description:

This property returns the fully qualified member name as a string containing the location of the member name, including all parent members for example, "Year.Qtr1.Jan".. Where shared members are concerned, the "real" location of the member is returned, for example, "Product.100.100-20" is always returned, even for the "Product.Diet.100-20" version of the member. The value of this property may be passed directly to the QueryLabel.Add method as the MemberName argument.

Action:

Read only, String

Example:

This example shows how to display the member name and the fully qualified (unique name) in the Console window:

var product = Sections["Query"].Catalog.Dimensions["Product"];
for (var i = 1; i <= product.Count; i++) {
    Console.Writeln(product.Item(i).Name);
    Console.Writeln(product.Item(i).UniqueName);
}