Advanced.Data.Provider Documentation

AdpCommand Constructor (String, AdpConnection)

[This is preliminary documentation and subject to change.]

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

[Visual Basic]
Overloads Public Sub New( _
   ByVal cmdText As String, _
   ByVal connection As AdpConnection _
public AdpCommand(
   string cmdText,
   AdpConnection connection


A Transact-SQL statement or stored procedure name to execute.
The AdpConnection used by this instance of the AdpCommand.

See Also

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