ESRI.ArcGIS.ADF.Web.DataSources.ArcGISServer
SupportsFunctionality Method
See Also 
ESRI.ArcGIS.ADF.Web.DataSources.ArcGISServer Namespace > GeoprocessingResourceBase Class : SupportsFunctionality Method




functionalityType
The Type of functionality to check, e.g., IGeoprocessingFunctionality. Use an interface that derives from IGISFunctionality.
Whether the resource supports the functionality specified.

Syntax

Visual Basic (Declaration) 
Public Overrides Function SupportsFunctionality( _
   ByVal functionalityType As Type _
) As Boolean
Visual Basic (Usage)Copy Code
Dim instance As GeoprocessingResourceBase
Dim functionalityType As Type
Dim value As Boolean
 
value = instance.SupportsFunctionality(functionalityType)
C# 
public override bool SupportsFunctionality( 
   Type functionalityType
)

Parameters

functionalityType
The Type of functionality to check, e.g., IGeoprocessingFunctionality. Use an interface that derives from IGISFunctionality.

Remarks

GIS resources support varying types of functionality to perform services such as querying, geocoding, geoprocessing, creating a scalebar, and returning map tiles. Not all resources support the same functionalities. You can work with functionalities by using the CreateFunctionality method to obtain the functionality object. Before requesting a particular functionality, you should generally use SupportsFunctionality() check to ensure the functionality is supported by the resource.

For more information on resource functionalities, see the topic Working with resources and functionalities in the Developer Help (also available online at the ArcGIS Resource Center).

See Also

© 2010 All Rights Reserved.