ExpressionNode.DeepClone Method ()

 

Applies To: SQL Server 2016 Preview

Creates a copy of the referenced object. This includes all its properties.

Namespace:   Microsoft.SqlServer.Management.Dmf
Assembly:  Microsoft.SqlServer.Dmf (in Microsoft.SqlServer.Dmf.dll)

Syntax

[STraceConfigurationAttribute(SkipAutoTrace = true)]
public virtual ExpressionNode DeepClone()
public:
[STraceConfigurationAttribute(SkipAutoTrace = true)]
virtual ExpressionNode^ DeepClone()
[<STraceConfigurationAttribute(SkipAutoTrace = true)>]
abstract DeepClone : unit -> ExpressionNode
[<STraceConfigurationAttribute(SkipAutoTrace = true)>]
override DeepClone : unit -> ExpressionNode
<STraceConfigurationAttribute(SkipAutoTrace := True)>
Public Overridable Function DeepClone As ExpressionNode

Return Value

Type: Microsoft.SqlServer.Management.Dmf.ExpressionNode

An ExpressionNode object value that specifies the copied expression node.

Examples

Legacy Code Example

C#

Condition c = ConditionObject.Create (policyStore, "Database", op);
ExpressionNode clone = c.ExpressionNode.DeepClone();

See Also

ExpressionNode Class
Microsoft.SqlServer.Management.Dmf Namespace

Return to top