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
[C#]
public OleDbCommand CreateCommand();
[C++]
public: OleDbCommand* CreateCommand();
[JScript]
public function CreateCommand() : OleDbCommand;

Return Value

An OleDbCommand object.

Requirements

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

Show: