This documentation is archived and is not being maintained.

OracleConnection.CreateCommand Method

Creates and returns an OracleCommand object associated with the OracleConnection.

Namespace: System.Data.OracleClient
Assembly: System.Data.OracleClient (in

Public Function CreateCommand As OracleCommand
Dim instance As OracleConnection
Dim returnValue As OracleCommand

returnValue = instance.CreateCommand
public OracleCommand CreateCommand ()
public function CreateCommand () : OracleCommand
Not applicable.

Return Value

An OracleCommand object.

Windows 98, Windows Server 2000 SP4, Windows Millennium Edition, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

The Microsoft .NET Framework 3.0 is supported on Windows Vista, Microsoft Windows XP SP2, and Windows Server 2003 SP1.

.NET Framework

Supported in: 3.0, 2.0, 1.1