| OracleUtilityExecuteQuery Method (String, String, EventLog, Exception) |
Executes the PL/SQL query provided.
Namespace:
Galactic.Sql.Oracle
Assembly:
Galactic.Sql.Oracle (in Galactic.Sql.Oracle.dll) Version: 1.3.0.499 (1.3.0.499)
Syntax public List<SqlRow> ExecuteQuery(
string query,
string connectionString,
EventLog log,
out Exception exception
)
Public Function ExecuteQuery (
query As String,
connectionString As String,
log As EventLog,
<OutAttribute> ByRef exception As Exception
) As List(Of SqlRow)
public:
List<SqlRow^>^ ExecuteQuery(
String^ query,
String^ connectionString,
EventLog^ log,
[OutAttribute] Exception^% exception
)
member ExecuteQuery :
query : string *
connectionString : string *
log : EventLog *
exception : Exception byref -> List<SqlRow>
Parameters
- query
- Type: SystemString
The PL/SQL query text to execute. - connectionString
- Type: SystemString
The connection string of the database to execute the script against. - log
- Type: Galactic.EventLogEventLog
The event log to log execptions to. May be null for no logging. - exception
- Type: SystemException
Outputs an exception if there was one during the processing of the query. Null otherwise.
Return Value
Type:
ListSqlRowA list of rows of data returned from the query.
See Also