Esri Business Analyst Server API for Silverlight 2.2 Reference
ProfileByAreaSummationParameters Class
Members  Example  See Also  Send Feedback
ESRI.ArcGIS.Client.BAServer.Tasks.Segmentation Namespace : ProfileByAreaSummationParameters Class

Glossary Item Box

The ProfileByAreaSummationParameters class provides input parameters for the Profile by Area Summation task.

Object Model

ProfileByAreaSummationParameters ClassExtentData ClassBoundaries ClassFolderItem ClassBAResultType Class

Syntax

Remarks

The analysis can be restricted to an analysis extent if the AnalysisExtent parameter is specified. The optional SingleAreaID parameter restricts the analysis to a single area of the boundary layer. If the SingleAreaID parameter is specified, the AreaIDField parameter should specify an ID field name.

The output profile can be saved in the Business Analyst Server repository if the OutputItem parameter is specified.

Example

The code snippet below creates ProfileByAreaSummationParameters and then executes a Profile by Area Summation task.
C#Copy Code
ProfileByAreaSummationParameters parameters = new ProfileByAreaSummationParameters();
            
// The Boundaries type could take either data as
// ESRI.ArcGIS.Client.Tasks.FeatureSet, ESRI.ArcGIS.Client.BAServer.FolderItem, 
// or ESRI.ArcGIS.Client.BACore.StandardLayer types, e.g.
//StandardLayer stdLayer = new StandardLayer("US.ZIP5", zipCodesArray);
            
// Set Boundaries as a StandardLayer using implicit cast operator.
parameters.Boundaries = stdLayer;
            
// Set a segmentation base.
parameters.SegmentationBase = "Total Households";
            
// Optionally restrict analysis to ExtendData object specified with myExtent.
//parameters.AnalysisExtent = myExtent;
 
profileByAreaSummationTask.ExecuteAsync(parameters, new AsyncResponder(resultHandler, faultHandler));

Inheritance Hierarchy

System.Object
   ESRI.ArcGIS.Client.BACore.Client.BABaseParameters
      ESRI.ArcGIS.Client.BACore.Client.BAUtilityParameters
         ESRI.ArcGIS.Client.BAServer.Tasks.Segmentation.ProfileByAreaSummationParameters

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

© 2010-2012 Esri, Inc. All Rights Reserved.