FRAMES | NO FRAMES |
Gets the list of IDs of all available datasets.
Availability: Business Analyst Server.
string[] GetDatasets ( );
Parameter | Description |
---|---|
— | — |
Gets the list of IDs of all available datasets
To work with SOAP, 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 example below requests an array of all available core analysis datasets installed in the current Business Analyst Server instance.
C# |
// Instantiate the BAServerHelper class to access analysis methods BAServerHelper baServerHelper = new BAServerHelper(); string[] datasets = baServerHelper.GetDatasets(); |