| SqlUtilityExecuteNonQuery Method |
Executes the non-query SQL command provided.
Namespace:
Galactic.Sql
Assembly:
Galactic.Sql (in Galactic.Sql.dll) Version: 1.3.0.499 (1.3.0.499)
Syntax public abstract bool ExecuteNonQuery(
string command,
string connectionString,
EventLog log
)
Public MustOverride Function ExecuteNonQuery (
command As String,
connectionString As String,
log As EventLog
) As Boolean
public:
virtual bool ExecuteNonQuery(
String^ command,
String^ connectionString,
EventLog^ log
) abstract
abstract ExecuteNonQuery :
command : string *
connectionString : string *
log : EventLog -> bool
Parameters
- command
- Type: SystemString
The SQL command 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:
BooleanTrue if the command ran, false otherwise.
See Also