SqlCommand Constructor (String, SqlConnection, SqlTransaction)
Assembly: System.Data (in System.Data.dll)
public SqlCommand( string cmdText, SqlConnection connection, SqlTransaction transaction )
The following table shows initial property values for an instance of SqlCommand.
A new SqlConnection that is the value for the connection parameter.
You can change the value for any of these parameters by setting the related property.
Available since 1.1