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

Glossary Item Box

The Get Datasets task gets the list of IDs of all available datasets.

Object Model

GetDatasetsTask ClassAbstractClient ClassITokenProvider Interface

Syntax

Remarks

To work with REST API you need to specify an active dataset from which Business Analyst Server performs calculations such as customer counts, distances, and other analyses. Since version 9.3.1, the active dataset is optional in parameters of all tasks. If it is omitted, the first dataset from the list of available datasets is used.

The result of this task is a list of String items containing IDs of all available datasets.

Example

The code snippet below executes a Get Datasets task.
C#Copy Code
getDatasetsTask.ExecuteAsync(new AsyncResponder(resultHandler, faultHandler));

Inheritance Hierarchy

System.Object
   ESRI.ArcGIS.Client.BACore.Client.AbstractTask
      ESRI.ArcGIS.Client.BACore.Client.BATask<TResult,TEventArgs>
         ESRI.ArcGIS.Client.BAServer.Tasks.BAServerTask<TResult>
            ESRI.ArcGIS.Client.BAServer.Tasks.Utilities.GetDatasetsTask

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.