SqlCommand::Clone Method ()

 

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

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

public:
SqlCommand^ Clone()

Return Value

Type: System.Data.SqlClient::SqlCommand^

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

.NET Framework
Available since 2.0
Return to top
Show: