OleDbConnection.CreateCommand Method

Definition

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.OleDbCommand
member this.CreateCommand : unit -> System.Data.OleDb.OleDbCommand
Public Function CreateCommand () As OleDbCommand

Returns

OleDbCommand

An OleDbCommand object.

Applies to

See also