Condividi tramite


Metodo DeepClone

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

Spazio dei nomi  Microsoft.SqlServer.Management.Dmf
Assembly:  Microsoft.SqlServer.Dmf (in Microsoft.SqlServer.Dmf.dll)

Sintassi

'Dichiarazione
<STraceConfigurationAttribute(SkipAutoTrace := True)> _
Public Overridable Function DeepClone As ExpressionNode
'Utilizzo
Dim instance As ExpressionNode
Dim returnValue As ExpressionNode

returnValue = instance.DeepClone()
[STraceConfigurationAttribute(SkipAutoTrace = true)]
public virtual ExpressionNode DeepClone()
[STraceConfigurationAttribute(SkipAutoTrace = true)]
public:
virtual ExpressionNode^ DeepClone()
[<STraceConfigurationAttribute(SkipAutoTrace = true)>]
abstract DeepClone : unit -> ExpressionNode 
[<STraceConfigurationAttribute(SkipAutoTrace = true)>]
override DeepClone : unit -> ExpressionNode 
public function DeepClone() : ExpressionNode

Valore restituito

Tipo: Microsoft.SqlServer.Management.Dmf. . :: . .ExpressionNode
An ExpressionNode object value that specifies the copied expression node.

Esempi

C#

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