DMQueryTask.ExecuteQuery Method
Executes the query found in the QueryString property.
Namespace: Microsoft.SqlServer.Dts.Tasks.DMQueryTask
Assembly : Microsoft.SqlServer.DMQueryTask (in microsoft.sqlserver.dmquerytask.dll)
Syntax
'Declaration
Public Function ExecuteQuery ( _
connections As Connections, _
variablesDispenser As VariableDispenser, _
events As IDTSComponentEvents, _
log As IDTSLogging, _
txn As Object _
) As Boolean
public bool ExecuteQuery (
Connections connections,
VariableDispenser variablesDispenser,
IDTSComponentEvents events,
IDTSLogging log,
Object txn
)
public:
virtual bool ExecuteQuery (
Connections^ connections,
VariableDispenser^ variablesDispenser,
IDTSComponentEvents^ events,
IDTSLogging^ log,
Object^ txn
) sealed
public final boolean ExecuteQuery (
Connections connections,
VariableDispenser variablesDispenser,
IDTSComponentEvents events,
IDTSLogging log,
Object txn
)
public final function ExecuteQuery (
connections : Connections,
variablesDispenser : VariableDispenser,
events : IDTSComponentEvents,
log : IDTSLogging,
txn : Object
) : boolean
Parameter
- connections
A collection of connections used by the task.
- variablesDispenser
A VariableDispenser object for locking variables.
- events
An object that implements the IDTSComponentEvents interface.
- log
An object that implements the IDTSComponentEvents interface.
- txn
The transaction object that the container is a part of. This value can be null.
Rückgabewert
true indicates that the DMX query task executed successfully; false indicates that the DMX query task execution failed.
Threadsicherheit
Any public static (Shared in Microsoft Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Plattformen
Entwicklungsplattformen
Eine Liste der unterstützten Plattformen finden Sie unterHardware- und Softwareanforderungen für die Installation von SQL Server 2005.
Zielplattforme
Eine Liste der unterstützten Plattformen finden Sie unterHardware- und Softwareanforderungen für die Installation von SQL Server 2005.
Siehe auch
Verweis
DMQueryTask Class
DMQueryTask Members
Microsoft.SqlServer.Dts.Tasks.DMQueryTask Namespace