共用方式為


CalculationGroup.Clone Method

Definition

Creates a new, full copy of a CalculationGroup object.

public Microsoft.AnalysisServices.Tabular.CalculationGroup Clone ();
member this.Clone : unit -> Microsoft.AnalysisServices.Tabular.CalculationGroup
Public Function Clone () As CalculationGroup

Returns

Remarks

Clone() creates a deep clone of the original object, including all descendant objects. Any reference to the object outside of the original object's subtree will be preserved as-is. For example, if you clone SingleColumnRelationship, then the FromColumn property of the cloned relationship object will point to the same column as the original relationship object.

Applies to