NamedExpression.Clone Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Creates a new, full copy of a NamedExpression object.
public Microsoft.AnalysisServices.Tabular.NamedExpression Clone ();
member this.Clone : unit -> Microsoft.AnalysisServices.Tabular.NamedExpression
Public Function Clone () As NamedExpression
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.