Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

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.
Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

© 2014 Microsoft. All rights reserved.