FRAMES | NO FRAMES
GetWorkspaces Method

Gets the list of all available workspaces.

Availability: Business Analyst Server.

string[] GetWorkspaces ( 
); 

Parameter Description
- -

Returns

Variable of type String[] containing the list of names of all available workspaces

Examples

The example below requests the list of all workspaces available in the current instance of the Business Analyst Server Repository.

C#
// Instantiate the BAServerHelper class to access analysis methods
BAServerHelper baServerHelper = new BAServerHelper();
 
string[] workspaces = baServerHelper.GetWorkspaces();

See Also