SqlSmoObject.ExecuteNonQuery(StringCollection, Boolean, Boolean) Method

Definition

Executes sql statements

C#
protected void ExecuteNonQuery(System.Collections.Specialized.StringCollection queries, bool includeDbContext, bool executeForAlter);

Parameters

includeDbContext
Boolean

if true the statements are prefixed with setting the database context, if false they are not

executeForAlter
Boolean

Whether this execution is for an alter.

Applies to

Producto Versiones
Microsoft.SqlServer.SqlManagementObjects 150.18208.0, 160.2004021.0