| MSSqlUtilityExecuteNonQuery Method |
Executes the non-query TSQL command 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 bool ExecuteNonQuery(
string command,
string connectionString,
EventLog log
)
Public Overrides Function ExecuteNonQuery (
command As String,
connectionString As String,
log As EventLog
) As Boolean
public:
virtual bool ExecuteNonQuery(
String^ command,
String^ connectionString,
EventLog^ log
) override
abstract ExecuteNonQuery :
command : string *
connectionString : string *
log : EventLog -> bool
override ExecuteNonQuery :
command : string *
connectionString : string *
log : EventLog -> bool
Parameters
- command
- Type: SystemString
The TSQL 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