This documentation is archived and is not being maintained.

OleDbConnection.CreateCommand Method

Creates and returns an OleDbCommand object associated with the OleDbConnection.

[Visual Basic]
Public Function CreateCommand() As OleDbCommand
public OleDbCommand CreateCommand();
public: OleDbCommand* CreateCommand();
public function CreateCommand() : OleDbCommand;

Return Value

An OleDbCommand object.


Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family

See Also

OleDbConnection Class | OleDbConnection Members | System.Data.OleDb Namespace