Partilhar via


Método SqlSmoObject.ExecuteNonQuery

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

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

Sintaxe

'Declaração
Protected Sub ExecuteNonQuery ( _
    queries As StringCollection, _
    includeDbContext As Boolean _
)
'Uso
Dim queries As StringCollection 
Dim includeDbContext As Boolean 

Me.ExecuteNonQuery(queries, includeDbContext)
protected void ExecuteNonQuery(
    StringCollection queries,
    bool includeDbContext
)
protected:
void ExecuteNonQuery(
    StringCollection^ queries, 
    bool includeDbContext
)
member ExecuteNonQuery : 
        queries:StringCollection * 
        includeDbContext:bool -> unit
protected function ExecuteNonQuery(
    queries : StringCollection, 
    includeDbContext : boolean
)

Parâmetros

  • includeDbContext
    Tipo: System.Boolean
    A Boolean value that indicates whether to include the database context.

Consulte também

Referência

SqlSmoObject Classe

Namespace Microsoft.SqlServer.Management.Smo