Compartir a través de


ExecuteSql Método

Executes a batch of Transact-SQL statements that does not expect a returned results set on the specified instance of SQL Server.

Espacio de nombres:  Microsoft.SqlServer.Management.Smo
Ensamblado:  Microsoft.SqlServer.SmoExtended (en Microsoft.SqlServer.SmoExtended.dll)

Sintaxis

'Declaración
Protected Sub ExecuteSql ( _
    server As Server, _
    queries As StringCollection _
)
'Uso
Dim server As Server
Dim queries As StringCollection

Me.ExecuteSql(server, queries)
protected void ExecuteSql(
    Server server,
    StringCollection queries
)
protected:
void ExecuteSql(
    Server^ server, 
    StringCollection^ queries
)
member ExecuteSql : 
        server:Server * 
        queries:StringCollection -> unit 
protected function ExecuteSql(
    server : Server, 
    queries : StringCollection
)

Parámetros