System.Data.OleDb Namespace OleDbCommand Class
Initializes a new instance of the OleDbCommand class.
[ VB ]
Overloads Public Sub New ( )
[ C# ]
public OleDbCommand ( );
[ C++ ]
public: OleDbCommand ( );
[ JScript ]
public function OleDbCommand ( );
The following table shows initial property values for an OleDbCommand instantiated with this constructor.
You can change the value for any of these parameters by setting the related property.
The following example initializes an OleDbCommand with default parameters, then sets one of its properties.
OleDbCommand myCommand = new OleDbCommand ( );
myCommand.CommandTimeout = 20;
Dim myCommand As new OleDbCommand ( )
myCommand.CommandTimeout = 20 |
|
C# |
VB |
OleDbCommand Members OleDbCommand Constructor Overload List