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
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

© 2015 Microsoft