ESRI.ArcGIS.ADF.Web.UI.WebControls
GeoprocessingResourceItem Class
Members  Example  See Also 
ESRI.ArcGIS.ADF.Web.UI.WebControls Namespace : GeoprocessingResourceItem Class




Representation of a Geoprocessing Resource in a Geoprocessing Resource Manager control.

Object Model





Syntax

Visual Basic (Declaration) 
<SerializableAttribute()>
Public Class GeoprocessingResourceItem 
   Inherits GISResourceItem
Visual Basic (Usage)Copy Code
Dim instance As GeoprocessingResourceItem
C# 
[SerializableAttribute()]
public class GeoprocessingResourceItem : GISResourceItem 

Example

Once a geoprocessing resource it retrieved from a GeoprocessingResourceManager, initialize it, if necessary. After initialization, you can use the Resource property to return a geoprocessing resource and subsequently utilize the geoprocessing server task it represents.
C#Copy Code
ESRI.ArcGIS.ADF.Web.UI.WebControls.GeoprocessingResourceItem geoprocessingResourceItem = 

    GeoprocessingResourceManager1.ResourceItems.Find(m_geoprocessingResourceName); 

  

if (!geoprocessingResourceItem.Resource.Initialized) 

    geoprocessingResourceItem.InitializeResource(); 

  

ESRI.ArcGIS.ADF.Web.DataSources.IGeoprocessingResource geoprocessingResource = 

    (ESRI.ArcGIS.ADF.Web.DataSources.IGeoprocessingResource)geoprocessingResourceItem.Resource;

Inheritance Hierarchy

System.Object
   ESRI.ArcGIS.ADF.Web.UI.WebControls.GISResourceItem
      ESRI.ArcGIS.ADF.Web.UI.WebControls.GeoprocessingResourceItem

See Also

© 2010 All Rights Reserved.