ESRI.ArcGIS.ADF.Web.UI.WebControls
RemoveResults(String) Method
See Also 
ESRI.ArcGIS.ADF.Web.UI.WebControls Namespace > TaskResults Class > RemoveResults Method : RemoveResults(String) Method




taskJobID
Unique ID for the task. Identifies the task results within the TaskResults nodes. This is also the value path of the task result node.
Removes the results of a job from the task results control.

Syntax

Visual Basic (Declaration) 
Public Overloads Function RemoveResults( _
   ByVal taskJobID As String _
) As Integer
Visual Basic (Usage)Copy Code
Dim instance As TaskResults
Dim taskJobID As String
Dim value As Integer
 
value = instance.RemoveResults(taskJobID)
C# 
public int RemoveResults( 
   string taskJobID
)

Parameters

taskJobID
Unique ID for the task. Identifies the task results within the TaskResults nodes. This is also the value path of the task result node.

Return Value

The index of the removed node. If node was not found, returns -1.

See Also

© 2010 All Rights Reserved.