'Declaration Public Function New( _ ByVal commandText As String, _ ByVal connection As SqlConnection, _ ByVal transaction As SqlTransaction _ )
public SqlCommand( string commandText, SqlConnection connection, SqlTransaction transaction )
Parameters
- commandText
- The text of the query.
- connection
- A SqlConnection object that represents the connection to SQL Server.
- transaction
- SqlTransaction object used to perform transactions with this SqlCommand object.