Returns array of names of project's location for given hierarchy type (PLANT, LOCATION etc.)
Parameters
- type
- Location hierarchy
Return Value
string[] strLocations = oProject.GetLocations(Project.Hierarchy.Plant);
Console.WriteLine(" Locations :");
foreach(string loc in strLocations)
Console.WriteLine(" " + loc);