
Visual Basic (Declaration)
C#
The output target group can be saved in the Business Analyst Server repository if the
OutputItem
parameter is specified.
The code snippet below creates TargetGroupParameters and then executes a Target Group task.
C# | ![]() |
---|---|
TargetGroupParameters parameters = new TargetGroupParameters(); // The Targets parameter is an array of ESRI.ArcGIS.Client.BAServer.Target types, e.g. //List<Target> targets = new List<Target>(){ // new Target("Metropolis", new string[]{"20","22","45","51","54","62"}) //}; // Set a list of targets. parameters.Targets = targets; targetGroupTask.ExecuteAsync(parameters, new AsyncResponder(resultHandler, faultHandler)); |
System.Object
ESRI.ArcGIS.Client.BACore.Client.BABaseParameters
ESRI.ArcGIS.Client.BACore.Client.BAUtilityParameters
ESRI.ArcGIS.Client.BAServer.Tasks.Segmentation.TargetGroupParameters
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