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

Glossary Item Box

The CustomerStoreSetupByGeocodeTableParameters class provides input parameters for the Customer/Store Setup by Geocode Table task.

Object Model

CustomerStoreSetupByGeocodeTableParameters ClassGeocodeData ClassFolderItem ClassOutputTypes ClassRenderingParameters ClassBAResultType Class

Syntax

Remarks

Address information for Customer/Store Setup is specified with GeocodeData parameter.

The GeocodeCustomers parameter specifies the Setup type: the true value (default) means Customer Setup and the false value means Store Setup.

For Customer Setup, the NameField and LinkField parameters can be specified. A new customer ID field is created.

For Store Setup, the StoreIDField parameter should be specified and the NameField parameter can be specified. The CreateNewIDField parameter specifies whether to create a new store ID field or not. If its value is true, a new store ID field is added to the output layer with the name specified by the storeIDField parameter. If this name already exists in the input fields, it is slightly modified to be unique. For example, if the input data already contains a field with STORE_ID name and you try to create a new store ID field with the same name, a new field with the STORE_ID_1 name will be created in the output layer.

Output options for this task include rendering an output image (OutputTypes.GetMapImage) and/or creating a feature class for subsequent analysis (OutputTypes.GetFeatureClass). 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 OutputAnalysisItem parameter is specified, the output analysis feature class will be stored in the repository. If both RenderingParameters and OutputAnalysisItem parameters are missing, the feature class output is requested.

Example

The code snippet below creates CustomerStoreSetupByGeocodeTableParameters and then executes a Customer/Store Setup by Geocode Table task.
C#Copy Code
CustomerStoreSetupByGeocodeTableParameters parameters = new CustomerStoreSetupByGeocodeTableParameters();
             
// The GeocodeData type is an address information for geocoding, e.g. 
//GeocodeData geocodeData = new GeocodeData(new TableData(geocodeAddressesData));
             
parameters.GeocodeData = geocodeData;
             
customerStoreSetupByGeocodeTableTask.ExecuteAsync(parameters, new AsyncResponder(resultHandler, faultHandler));

Inheritance Hierarchy

System.Object
   ESRI.ArcGIS.Client.BACore.Client.BATaskParameters
      ESRI.ArcGIS.Client.BACore.Client.AnalysisParameters
         ESRI.ArcGIS.Client.BAServer.Tasks.AnalysisParameters
            ESRI.ArcGIS.Client.BAServer.Tasks.CustomerStoreSetup.CustomerStoreSetupByGeocodeTableParameters

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.