Megosztás a következőn keresztül:


ResultParameter.ResultType Property

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.

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

Syntax

'Declaration
Public Property ResultType As ParameterResultType
    Get
    Set
'Usage
Dim instance As ResultParameter
Dim value As ParameterResultType

value = instance.ResultType

instance.ResultType = value
public ParameterResultType ResultType { get; set; }
public:
property ParameterResultType ResultType {
    ParameterResultType get ();
    void set (ParameterResultType value);
}
member ResultType : ParameterResultType with get, set
function get ResultType () : ParameterResultType
function set ResultType (value : ParameterResultType)

Property Value

Type: Microsoft.SqlServer.Dts.Tasks.DMQueryTask.ParameterResultType
A value from the ParameterResultType enumeration.