Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
CreateCommand Method

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:
© 2015 Microsoft