SetFieldMapping method: CubeCollectionDefn class

Syntax

SetFieldMapping(PartName, FieldName, IsCube)

Description

Use the SetFieldMapping method to specify the name of the main field used for mapping the part specified by PartName.

You can map a field to only one data cube or dimension within one cube collection.

Parameters

Parameter Description

PartName

Specify the name of the part for which you want to assign a mapping field.

FieldName

Specify the name of the field to be used for the field mapping.

IsCube

Specify whether or not the part is a cube. This parameter takes a Boolean value: true if the part is a cube, false otherwise.

Returns

None.