Initializes a new instance of the ADOCommand class.
Initializes a new instance of the ADOCommand class with no parameters.
[Visual Basic] Overloads Public Sub New()
[C#] public ADOCommand();
[C++] public: ADOCommand();
[JScript] public function ADOCommand();
Initializes a new instance of the ADOCommand class with the query command text.
[Visual Basic] Overloads Public Sub New(String)
[C#] public ADOCommand(String);
[C++] public: ADOCommand(String*);
[JScript] public function ADOCommand(String);
Initializes a new instance of the ADOCommand class with the query command text and a connection string.
[Visual Basic] Overloads Public Sub New(String, String)
[C#] public ADOCommand(String, String);
[C++] public: ADOCommand(String*, String*);
[JScript] public function ADOCommand(String, String);
Initializes a new instance of the ADOCommand class with the query command text and an ADOConnection.
[Visual Basic] Overloads Public Sub New(String, ADOConnection)
[C#] public ADOCommand(String, ADOConnection);
[C++] public: ADOCommand(String*, ADOConnection);
[JScript] public function ADOCommand(String, ADOConnection);
Initializes a new instance of the ADOCommand class with an ADOConnection, the query command text, a specific CommandType, a parameter array, and a UpdateRowSource value.
[Visual Basic] Overloads Public Sub New(ADOConnection, String, CommandType, Boolean, ADOParameter(), UpdateRowSource)
[C#] public ADOCommand(ADOConnection, String, CommandType, bool, ADOParameter[], UpdateRowSource);
[C++] public: ADOCommand(ADOConnection*, String, CommandType, bool, ADOParameter[], UpdateRowSource);
[JScript] public function ADOCommand(ADOConnection, String, CommandType, Boolean, ADOParameter[], UpdateRowSource);
The following example creates an ADOCommand and sets some of its properties.
ADOCommand Class | ADOCommand Members | System.Data.ADO Namespace