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 _
)
[C#]
public OracleCommand(
   string commandText
);
[C++]
public: OracleCommand(
   String* commandText
);
[JScript]
public function OracleCommand(
   commandText : String
);

Parameters

commandText
The text of the query.

Requirements

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

Show: