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();