Partilhar via


SqlSmoObject.ExecuteNonQuery(StringCollection, Boolean, Boolean) Method

Definition

Executes sql statements

protected void ExecuteNonQuery (System.Collections.Specialized.StringCollection queries, bool includeDbContext, bool executeForAlter);
member this.ExecuteNonQuery : System.Collections.Specialized.StringCollection * bool * bool -> unit
Protected Sub ExecuteNonQuery (queries As StringCollection, includeDbContext As Boolean, executeForAlter As Boolean)

Parameters

includeDbContext
Boolean

if true the statements are prefixed with setting the database context, if false they are not

executeForAlter
Boolean

Whether this execution is for an alter.

Applies to