다음을 통해 공유


ExpressionNode.DeepClone 메서드

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

네임스페이스:  Microsoft.SqlServer.Management.Dmf
어셈블리:  Microsoft.SqlServer.Dmf(Microsoft.SqlServer.Dmf.dll)

구문

‘선언
<STraceConfigurationAttribute(SkipAutoTrace := True)> _
Public Overridable Function DeepClone As ExpressionNode
‘사용 방법
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

반환 값

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

C#

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

참고 항목

참조

ExpressionNode 클래스

Microsoft.SqlServer.Management.Dmf 네임스페이스