Dela via


SqlConnection.ICloneable.Clone Method

Definition

Creates a new object that is a copy of the current instance.

 virtual System::Object ^ System.ICloneable.Clone() = ICloneable::Clone;
object ICloneable.Clone ();
abstract member System.ICloneable.Clone : unit -> obj
override this.System.ICloneable.Clone : unit -> obj
Function Clone () As Object Implements ICloneable.Clone

Returns

A new object that is a copy of this instance.

Implements

Remarks

This member is an explicit interface member implementation. It can be used only when the SqlConnection instance is cast to an ICloneable interface.

This member is only supported by the .NET Compact Framework.

Applies to