SqlSmoObject.ExecuteNonQuery(StringCollection, Boolean) SqlSmoObject.ExecuteNonQuery(StringCollection, Boolean) SqlSmoObject.ExecuteNonQuery(StringCollection, Boolean) Method

Definition

Executes a batch of statements that does not return a result set.

protected:
 void ExecuteNonQuery(System::Collections::Specialized::StringCollection ^ queries, bool includeDbContext);
protected void ExecuteNonQuery (System.Collections.Specialized.StringCollection queries, bool includeDbContext);
Protected Sub ExecuteNonQuery (queries As StringCollection, includeDbContext As Boolean)
Parameters
queries
StringCollection StringCollection StringCollection

A StringCollection system object value that specifies the batches of Transact-SQL statements to be executed.

includeDbContext
Boolean Boolean Boolean

A Boolean value that indicates whether to include the database context.

Applies to