Returns the environments of the environment manager as an array.
[Visual Basic 6.0] Function GetEnvironments As IArray
[Visual Basic .NET] Public Function GetEnvironments ( _ ) As IArray
[C#] public IArray GetEnvironments ( );
[Java] public IArray getEnvironments ( ) throws IOException, AutomationException
[C++] HRESULT GetEnvironments( IArray** envs );
The GetEnvironments method returns all possible environments of an environment manager as an array. Use this method to access a complete environments list of a GPEnviornmentManager object.