This documentation is archived and is not being maintained.

OracleCommand Constructor (String)

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

Initializes a new instance of the OracleCommand class with the text of the query.

[Visual Basic]
Public Sub New( _
   ByVal commandText As String _
public OracleCommand(
   string commandText
public: OracleCommand(
   String* commandText
public function OracleCommand(
   commandText : String


The text of the query.


Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family

.NET Framework Security: 

See Also

OracleCommand Class | OracleCommand Members | System.Data.OracleClient Namespace | OracleCommand Constructor Overload List