This documentation is archived and is not being maintained.

OdbcConnection.CreateCommand Method

Note: This namespace, class, or member is supported only in version 1.1 of the .NET Framework.

Creates and returns an OdbcCommand object associated with the OdbcConnection.

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

Return Value

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

OdbcConnection Class | OdbcConnection Members | System.Data.Odbc Namespace