SqlCommand Constructor (String^, SqlConnection^, SqlTransaction^)
Assembly: System.Data (in System.Data.dll)
public: SqlCommand( String^ cmdText, SqlConnection^ connection, SqlTransaction^ transaction )
The text of the query.
A SqlConnection that represents the connection to an instance of SQL Server.
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