Advanced.Data.Provider Documentation

AdpCommand Constructor (String, String, CommandType)

[This is preliminary documentation and subject to change.]

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

[Visual Basic]
Overloads Public Sub New( _
   ByVal cmdText As String, _
   ByVal connectionString As String, _
   ByVal cmdType As CommandType _
public AdpCommand(
   string cmdText,
   string connectionString,
   CommandType cmdType


A Transact-SQL statement or stored procedure name to execute.
A connection string to create a AdpConnection object.
Gets or sets a value indicating how the CommandText property is to be interpreted.

See Also

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