SqlCommand.ICloneable.Clone Method ()

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

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

Namespace:   System.Data.SqlClient
Assembly:  System.Data (in System.Data.dll)

object ICloneable.Clone()

Return Value

Type: System.Object

A new SqlCommand object that is a copy of this instance.

.NET Framework
Available since 1.1
Return to top
Show: