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