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

Glossary Item Box

The ProfileByImportFromTableParameters class provides input parameters for the Profile by Import from Table task.

Object Model

ProfileByImportFromTableParameters ClassTableData ClassFolderItem ClassBAResultType Class

Syntax

Remarks

The import table should only have one record for each segmentation code and it must contain summarized counts for each segment. The import table can contain summarized volumes (e.g. total sales) for each segment.

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

Example

The code snippet below creates ProfileByImportFromTableParameters and then executes a Profile by Import From Table task.
C#Copy Code
ProfileByImportFromTableParameters parameters = new ProfileByImportFromTableParameters();
             
// The TableData type could take either data as type
// ESRI.ArcGIS.Client.BAServer.GeocodeAddressesData, ESRI.ArcGIS.Client.BAServer.FolderItem,
// ESRI.ArcGIS.Client.Tasks.FeatureSet, or string URL to an external table.
             
// Set DataTable as a FeatureSet using implicit cast operator.
parameters.DataTable = featureSet;
             
// Set an attribute field in the DataTable table which contains summarized counts.
parameters.CountField = "COUNT";
             
// Set an attribute field in the DataTable table which contains IDs.
parameters.IDField = "SEGMENT";
             
// Set an attribute field in the DataTable table which contains summarized volume (optional).
parameters.VolumeField = "SALES";
             
profileByImportFromTableTask.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.ProfileByImportFromTableParameters

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.