Поделиться через


Метод ExecuteQuery

Этот API-интерфейс поддерживает инфраструктуру и не предназначен для использования непосредственно из кода.

Пространство имен:  Microsoft.SqlServer.Dts.Tasks.DMQueryTask
Сборка:  Microsoft.SqlServer.DMQueryTask (в Microsoft.SqlServer.DMQueryTask.dll)

Синтаксис

'Декларация
Function ExecuteQuery ( _
    connections As Connections, _
    variables As VariableDispenser, _
    events As IDTSComponentEvents, _
    log As IDTSLogging, _
    txn As Object _
) As Boolean
'Применение
Dim instance As IDMQueryTask
Dim connections As Connections
Dim variables As VariableDispenser
Dim events As IDTSComponentEvents
Dim log As IDTSLogging
Dim txn As Object
Dim returnValue As Boolean

returnValue = instance.ExecuteQuery(connections, _
    variables, events, log, txn)
bool ExecuteQuery(
    Connections connections,
    VariableDispenser variables,
    IDTSComponentEvents events,
    IDTSLogging log,
    Object txn
)
bool ExecuteQuery(
    Connections^ connections, 
    VariableDispenser^ variables, 
    IDTSComponentEvents^ events, 
    IDTSLogging^ log, 
    Object^ txn
)
abstract ExecuteQuery : 
        connections:Connections * 
        variables:VariableDispenser * 
        events:IDTSComponentEvents * 
        log:IDTSLogging * 
        txn:Object -> bool 
function ExecuteQuery(
    connections : Connections, 
    variables : VariableDispenser, 
    events : IDTSComponentEvents, 
    log : IDTSLogging, 
    txn : Object
) : boolean

Возвращаемое значение

Тип: System. . :: . .Boolean