Export (0) Print
Expand All

SqlSmoObject.ExecuteNonQuery Method

Executes a batch in the context of the database where there are no results returned.

Namespace:  Microsoft.SqlServer.Management.Smo
Assembly:  Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)

protected void ExecuteNonQuery(
	StringCollection queries,
	bool includeDbContext


Type: System.Collections.Specialized.StringCollection
The object value that contains more than one Transact-SQL command.
Type: System.Boolean
If true, the statements are prefixed with setting the database context. If false, they are not.
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

© 2015 Microsoft