FRAMES | NO FRAMES
GetSegBases Method

Gets the list of all available segmentation bases.

Availability: Business Analyst Server.

string[] GetSegBases ( 
    string  ActiveDatasetID       
);

Parameter Description
ActiveDatasetID (Since version 9.3.1, this parameter is optional — it can be null).
ID of the active dataset. Type String.

Returns

Variable of type String[] containing the list of all available segmentation bases

Remarks

In Business Analyst Server, two segmentation base are available:

Examples

The example below requests all available segmentation base names in the current instance of Business Analyst Server.

C#
// Instantiate the BAServerHelper class to access analysis methods
BAServerHelper baServerHelper = new BAServerHelper();
baServerHelper.ActiveDatasetID = "USA_ESRI"; // Optional parameter
 
string[] segmentationBases = baServerHelper.GetSegBases();

See Also