ESRI.ArcGIS.ADF.Web.UI.WebControls
RemoveResults(String) Method
See Also  Send Feedback
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.

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

© 2011 All Rights Reserved.