The Clone method of the MDStore interface copies the property values and optionally the collections of major and minor objects of an existing object to a target object of the same class type.
clsAggregation | clsDatabase |
clsCube | clsPartition |
object.Clone(TargetObject [, CloneOptions])
The options to tell the method the extent to which the source object’s properties and major or minor children should be copied.
Option | Description |
---|---|
cloneObjectProperties | The values of the properties of the source object will be copied to the target object. |
cloneMinorChildren | The values of the properties and the minor objects contained in the source object’s collections are copied. For example, for a cube, the dimensions and their levels, measures, commands, and roles are copied. The target cube will have a default partition, but its properties are not based on the source cube’s default partition. |
cloneMajorChildren | The values of all properties and major and minor objects contained in the source object’s collections are copied. This is the default operation for the Clone method. |
About Decision Support Objects | Using Decision Support Objects |
Methods Cross-Reference |