Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

SqlSmoObject.ExecuteNonQuery Method (StringCollection, Boolean)


Applies To: SQL Server 2016 Preview

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

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

Protected Sub ExecuteNonQuery (
	queries As StringCollection,
	includeDbContext As Boolean


Type: System.Collections.Specialized.StringCollection

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

Type: System.Boolean

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

Return to top
© 2015 Microsoft