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

Glossary Item Box

The CoreDevelopSegmentsParameters class provides input parameters for the Core and Developmental Segments task.

Object Model

CoreDevelopSegmentsParameters ClassProfileData ClassFolderItem ClassOutputTypes ClassBAResultType ClassReportOptions ClassTargetGroupData ClassProfileData Class

Syntax

Remarks

Two tapestry segmentation profiles should be specified—the base profile (BaseProfile parameter) is used for calculating the index and the target profile (TargetProfile parameter) is used for calculating the percent composition for each Tapestry segment.

Two variations of the report creation are supported: with and without a target group.

Without target group (UseExistingTargetGroup=false), the PercentThreshold and the IndexThreshold parameters specify the percent composition and index thresholds, respectively.

With a target group (UseExistingTargetGroup=true), the TargetGroup parameter specifies the target group and the CoreTargetName and DevelopmentalTargetName parameters specify the Core and Developmental summary groups of the target group, respectively.

Output options for this task include creating a report (OutputTypes.GetReport). You need not specify the output options for this task because the GetReport output type is set by default.

Example

The code snippet below creates CoreDevelopSegmentsParameters and then executes a Core and Developmental Segments task.
C#Copy Code
CoreDevelopSegmentsParameters parameters = new CoreDevelopSegmentsParameters();
             
// The ProfileData type could take either data as an XML string
// or as ESRI.ArcGIS.Client.BAServer.FolderItem type, e.g.
//FolderItem baseProfile = new FolderItem(workspaceName, projectName, FolderType.esriFolderSegProfiles, profileName);
             
// Set a base segmentation profile as a FolderItem using implicit cast operator.
parameters.BaseProfile = baseProfile;
             
// Set a target segmentation profile.
parameters.TargetProfile = targetProfile;
             
// Set the use of existing target group.
parameters.UseExistingTargetGroup = true;
            
// The TargetGroupData type could take either data as an XML string
// or as ESRI.ArcGIS.Client.BAServer.FolderItem type, e.g.
//FolderItem targetGroup = new FolderItem(workspaceName, projectName, FolderType.esriFolderSegTGs, tgName);
             
// Set a target group as a FolderItem using implicit cast operator.
parameters.TargetGroup = targetGroup;
             
// Set a core summary group name.
parameters.CoreTargetName = "U1. Principal Urban Centers I";
             
// Set a developmental summary group name.
parameters.DevelopmentalTargetName = "U11. Rural II";
             
// Set report parameters. 
parameters.StandardReportOptions = new ReportOptions("PDF");
             
coreDevelopSegmentsTask.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.StandardReportParameters
            ESRI.ArcGIS.Client.BAServer.Tasks.Segmentation.CoreDevelopSegmentsParameters

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.