Creates a new TaskResultNode from an input DataSet and related information.
Syntax
Visual Basic (Usage) | Copy Code |
---|
Dim instance As TaskResults
Dim task As ITask
Dim taskJobID As String
Dim taskInputs As Object
Dim ds As DataSet
Dim groupResultsByTable As Boolean
Dim showFieldAttributes As Boolean
Dim value As TaskResultNode
value = instance.CreateTaskResultNode(task, taskJobID, taskInputs, ds, groupResultsByTable, showFieldAttributes) |
Parameters
- task
- Instance of the task that generated the DataSet.
- taskJobID
- Unique ID for the task. Identifies the task results within the TaskResults nodes.
- taskInputs
- Inputs used to generate the task results in the task, and that may be used to re-run the task via the results context menu.
- ds
- DataSet with results to display in the TaskResults.
- groupResultsByTable
- If true (the default), displays individual features under separate nodes for each table. If false, hides table nodes and displays all features directly under the main task results node.
- showFieldAttributes
- If true (the default), displays attributes from the data tables under nodes for each feature. If false, displays only the nodes for features.
Return Value
TaskResultNode that is added to the TaskResults control.
Remarks
Requirements
Target Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family
See Also