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)
Syntax
protected void ExecuteNonQuery(
StringCollection queries,
bool includeDbContext
)
protected:
void ExecuteNonQuery(
StringCollection^ queries,
bool includeDbContext
)
member ExecuteNonQuery :
queries:StringCollection *
includeDbContext:bool -> unit
Protected Sub ExecuteNonQuery (
queries As StringCollection,
includeDbContext As Boolean
)
Parameters
queries
Type: System.Collections.Specialized.StringCollectionA StringCollection system object value that specifies the batches of Transact-SQL statements to be executed.
includeDbContext
Type: System.BooleanA Boolean value that indicates whether to include the database context.
See Also
SqlSmoObject Class
Microsoft.SqlServer.Management.Smo Namespace
Return to top