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




functionalityType
Type of IGISFunctionality to create.
functionalityName
Name to assign to the functionality object.
Creates a new instance of the GIS functionality type.

Syntax

Visual Basic (Declaration) 
Public Overrides Function CreateFunctionality( _
   ByVal functionalityType As Type, _
   ByVal functionalityName As String _
) As IGISFunctionality
Visual Basic (Usage)Copy Code
Dim instance As GeoprocessingResourceBase
Dim functionalityType As Type
Dim functionalityName As String
Dim value As IGISFunctionality
 
value = instance.CreateFunctionality(functionalityType, functionalityName)
C# 
public override IGISFunctionality CreateFunctionality( 
   Type functionalityType,
   string functionalityName
)

Parameters

functionalityType
Type of IGISFunctionality to create.
functionalityName
Name to assign to the functionality object.

Return Value

IGISFunctionality object of the type specified.

Remarks

Be sure to use SupportsFunctionality to check whether the resource supports this type of functionality before creating and using it.

See Also

© 2010 All Rights Reserved.