Advanced.Data.Provider Documentation

AdpCommand Constructor (String, AdpConnection, AdpTransaction)

[This is preliminary documentation and subject to change.]

Initializes a new instance of the AdpCommand class with the text of the query, a AdpConnection and a AdpTransaction.

[Visual Basic]
Overloads Public Sub New( _
   ByVal cmdText As String, _
   ByVal connection As AdpConnection, _
   ByVal transaction As AdpTransaction _
)
[C#]
public AdpCommand(
   string cmdText,
   AdpConnection connection,
   AdpTransaction transaction
);

Parameters

cmdText
A Transact-SQL statement or stored procedure name to execute.
connection
The AdpConnection used by this instance of the AdpCommand.
transaction
The AdpTransaction within which the AdpCommand executes.

See Also

AdpCommand Class | Advanced.Data.Provider Namespace | AdpCommand Constructor Overload List