Freigeben über


ExecuteQuery-Methode

Die API unterstützt die .NET Framework-Infrastruktur und ist nicht für eine direkte Verwendung vom Code aus vorgesehen.

Namespace:  Microsoft.SqlServer.Dts.Tasks.DMQueryTask
Assembly:  Microsoft.SqlServer.DMQueryTask (in Microsoft.SqlServer.DMQueryTask.dll)

Syntax

'Declaration
Function ExecuteQuery ( _
    connections As Connections, _
    variables As VariableDispenser, _
    events As IDTSComponentEvents, _
    log As IDTSLogging, _
    txn As Object _
) As Boolean
'Usage
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

Rückgabewert

Typ: System. . :: . .Boolean