Share via


ResultParameter Class

Binds the DMX query result to an SSIS package variable. At run time, the DMX query result will be assigned to the SSIS package variable.

Inheritance Hierarchy

System.Object
  Microsoft.SqlServer.Dts.Tasks.DMQueryTask.ResultParameter

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

Syntax

'Declaration
Public Class ResultParameter
'Usage
Dim instance As ResultParameter
public class ResultParameter
public ref class ResultParameter
type ResultParameter =  class end
public class ResultParameter

The ResultParameter type exposes the following members.

Constructors

  Name Description
Public method ResultParameter Initializes a new instance of the ResultParameter class.

Top

Properties

  Name Description
Public property DtsVariableName Gets or sets the name of the SSIS package variable.
Public property ResultName Gets or sets the name of the ResultParameter.
Public property ResultType Gets or sets a value from the ParameterResultType enumeration, indicating whether the SSIS package variable should be populated with the column value matching the ResultName in the first row of the DMX query result, or whether the variable should be populated with the entire DMX query result in the form of a DataTable.

Top

Methods

  Name Description
Public method Equals (Inherited from Object.)
Protected method Finalize (Inherited from Object.)
Public method GetHashCode (Inherited from Object.)
Public method GetType (Inherited from Object.)
Protected method MemberwiseClone (Inherited from Object.)
Public method ToString (Inherited from Object.)

Top

Fields

  Name Description
Protected field m_dtsVariableName Infrastructure. Specifies the name of the SSIS package variable.
Protected field m_resultName Infrastructure. Specifies the name of the result.
Protected field m_resultType Infrastructure. Specifies the type of the result.

Top

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Reference

Microsoft.SqlServer.Dts.Tasks.DMQueryTask Namespace