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

Glossary Item Box

The TargetMapParameters class provides input parameters for the Target Map task.

Object Model

TargetMapParameters ClassExtentData ClassFolderItem ClassFolderItem ClassOutputTypes ClassRenderingParameters ClassBAResultType ClassReportOptions Class

Syntax

Remarks

The AnalysisExtent parameter specifies the market area to thematically shade locations in, the SegmentationBase parameter specifies the base for assignment segments to geography sites, the SegmentationLevel parameter specifies the ID of a segmentation level, and the SelectedSegments parameter specifies the list of IDs of Tapestry segments of your interest.

Output options for this task include rendering an output image (OutputTypes.GetMapImage), creating a feature class for subsequent analysis (OutputTypes.GetFeatureClass), and/or creating a report (OutputTypes.GetReport). If no output options are specified, the required output options are specified as follows. If the RenderingParameters parameter is specified, the image output is requested. If the StandardReportOptions parameter is specified, the report is requested. If the OutputAnalysisItem parameter is specified, the output analysis feature class will be stored in the repository. If RenderingParameters, StandardReportOptions, and OutputAnalysisItem parameters are missing, the feature class output is requested.

Example

The code snippet below creates TargetMapParameters and then executes a Target Map task.
C#Copy Code
TargetMapParameters parameters = new TargetMapParameters();
             
// Set a data extent for analysis to ExtendData object specified with myExtent.
parameters.AnalysisExtent = myExtent;
             
// Set a segmentation base.
parameters.SegmentationBase = "Total Households";
             
// Set a segmentation level ID.
parameters.SegmentationLevel = "US.ZIP5";
             
// Set selected Tapestry segments.
parameters.SelectedSegments = new List<string>(){"8", "30"};
            
// Set report parameters. 
parameters.StandardReportOptions = new ReportOptions("PDF");
 
targetMapTask.ExecuteAsync(parameters, new AsyncResponder(resultHandler, faultHandler));

Inheritance Hierarchy

System.Object
   ESRI.ArcGIS.Client.BACore.Client.BATaskParameters
      ESRI.ArcGIS.Client.BACore.Client.StandardReportParameters
         ESRI.ArcGIS.Client.BAServer.Tasks.AnalysisAndReportParameters
            ESRI.ArcGIS.Client.BAServer.Tasks.Segmentation.TargetMapParameters

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.