다음을 통해 공유


DMQueryTask.ExecuteQuery Method

Executes the query found in the QueryString property.

네임스페이스: Microsoft.SqlServer.Dts.Tasks.DMQueryTask
어셈블리: Microsoft.SqlServer.DMQueryTask (in microsoft.sqlserver.dmquerytask.dll)

구문

‘선언
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

매개 변수

  • connections
    A collection of connections used by the task.
  • log
    An object that implements the IDTSComponentEvents interface.
  • txn
    The transaction object that the container is a part of. This value can be null.

반환 값

true indicates that the DMX query task executed successfully; false indicates that the DMX query task execution failed.

스레드 보안

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.

플랫폼

개발 플랫폼

지원되는 플랫폼 목록은 SQL Server 2005 설치를 위한 하드웨어 및 소프트웨어 요구 사항을 참조하십시오.

대상 플랫폼

지원되는 플랫폼 목록은 SQL Server 2005 설치를 위한 하드웨어 및 소프트웨어 요구 사항을 참조하십시오.

참고 항목

참조

DMQueryTask Class
DMQueryTask Members
Microsoft.SqlServer.Dts.Tasks.DMQueryTask Namespace