| MSSqlUtilityExecuteQuery Method |
Executes the TSQL query provided.
Namespace:
Galactic.Sql.MSSql
Assembly:
Galactic.Sql.MSSql (in Galactic.Sql.MSSql.dll) Version: 1.3.0.499 (1.3.0.499)
Syntax public override List<SqlRow> ExecuteQuery(
string query,
string connectionString,
EventLog log
)
Public Overrides Function ExecuteQuery (
query As String,
connectionString As String,
log As EventLog
) As List(Of SqlRow)
public:
virtual List<SqlRow^>^ ExecuteQuery(
String^ query,
String^ connectionString,
EventLog^ log
) override
abstract ExecuteQuery :
query : string *
connectionString : string *
log : EventLog -> List<SqlRow>
override ExecuteQuery :
query : string *
connectionString : string *
log : EventLog -> List<SqlRow>
Parameters
- query
- Type: SystemString
The TSQL 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.
Return Value
Type:
ListSqlRowA list of rows of data returned from the query.
See Also