SqlSmoObject.ExecuteNonQuery Method
Executes a batch in the context of the database where there are no results returned.
Assembly: Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)
Parameters
- queries
- Type: System.Collections.Specialized.StringCollection
The object value that contains more than one Transact-SQL command.
- includeDbContext
- Type: System.Boolean
If true, the statements are prefixed with setting the database context. If false, they are not.
