Export (0) Print
Expand All
Expand Minimize

SqlSmoObject.ExecuteNonQuery Method

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)

'Declaration
Protected Sub ExecuteNonQuery ( _
	queries As StringCollection, _
	includeDbContext As Boolean _
)
'Usage
Dim queries As StringCollection 
Dim includeDbContext As Boolean 

Me.ExecuteNonQuery(queries, includeDbContext)

Parameters

queries
Type: StringCollection
A StringCollection system object value that specifies the batches of Transact-SQL statements to be executed.
includeDbContext
Type: Boolean
A Boolean value that indicates whether to include the database context.
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft