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

Glossary Item Box

The CustomerDemographicProfileParameters class provides input parameters for the Customer Demographic Profile task.

Object Model

CustomerDemographicProfileParameters ClassPointLayer ClassFolderItem ClassOutputTypes ClassBAResultType ClassReportOptions Class

Syntax

Remarks

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 CustomerDemographicProfileParameters and then executes a Customer Demographic Profile task.
C#Copy Code
CustomerDemographicProfileParameters parameters = new CustomerDemographicProfileParameters();
             
// The PointLayer type could take either data as
// ESRI.ArcGIS.Client.Tasks.FeatureSet, ESRI.ArcGIS.Client.BAServer.FolderItem,
// or a list of ESRI.ArcGIS.Client.BACore.PointRecord items, e.g.
//List<PointRecord> points = new List<PointRecord>() {
//    new PointRecord("Customer 1", "Steiner St. & Geary Blvd", "1", 37.78415, -122.4346)};
             
// Set Customers as a list of PointRecord using implicit cast operator.
parameters.Customers = points;
            
// Set ID of a geography layer to get demography from.
parameters.GeographyLayerID = "US.BlockGroups";
             
// Set report parameters. 
parameters.StandardReportOptions = new ReportOptions("PDF");
 
customerDemographicProfileTask.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.Reports.CustomerDemographicProfileParameters

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.