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 void ExecuteNonQuery(
	StringCollection queries,
	bool includeDbContext
)

Parameters

queries
Type: System.Collections.Specialized.StringCollection

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

includeDbContext
Type: System.Boolean

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

Return to top
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2015 Microsoft