OleDbConnection.CreateCommand Method   
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Creates and returns an OleDbCommand object associated with the OleDbConnection.
public:
 System::Data::OleDb::OleDbCommand ^ CreateCommand();public System.Data.OleDb.OleDbCommand CreateCommand();override this.CreateCommand : unit -> System.Data.OleDb.OleDbCommandmember this.CreateCommand : unit -> System.Data.OleDb.OleDbCommandPublic Function CreateCommand () As OleDbCommandReturns
An OleDbCommand object.