ExpressionNode.DeepClone メソッド

参照先のオブジェクトのコピーを作成します。 これには、すべてのプロパティが含まれます。

名前空間:  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
コピーされた式ノードを示す ExpressionNode オブジェクト値です。

使用例

C#

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

関連項目

参照

ExpressionNode クラス

Microsoft.SqlServer.Management.Dmf 名前空間