FRAMES | NO FRAMES |
Gets the list of all projects available in the given workspace.
Availability: Business Analyst Server.
string[] GetProjects ( string WorkspaceName );
Parameter | Description |
---|---|
WorkspaceName | Workspace name. Type String. |
Variable of type String[] containing the list of projects available in the given workspace.
The example below requests the list of all projects contained in the Default Workspace of the Business Analyst Server Repository.
C# |
// Instantiate the BAServerHelper class to access analysis methods BAServerHelper baServerHelper = new BAServerHelper(); string workspace = "Default Workspace"; string[] projectNames = baServerHelper.GetProjects(workspace); |