ESRI.ArcGIS.ADF.Web.DataSources.ArcGISServer
CreateFunctionality Method
See Also  Send Feedback
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 ESRI.ArcGIS.ADF.Web.DataSources.IGISFunctionality
Visual Basic (Usage)Copy Code
Dim instance As GeoprocessingResourceBase
Dim functionalityType As Type
Dim functionalityName As String
Dim value As ESRI.ArcGIS.ADF.Web.DataSources.IGISFunctionality
 
value = instance.CreateFunctionality(functionalityType, functionalityName)
C# 
public override ESRI.ArcGIS.ADF.Web.DataSources.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.

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.