ArcObjects Library Reference (Geoprocessing)  

IGPEnvironmentManager.GetEnvironments Method

Returns the environments of the environment manager as an array.

[Visual Basic .NET]
Public Function GetEnvironments ( _
) As IArray
[C#]
public IArray GetEnvironments (
);
[C++]
HRESULT GetEnvironments(
  IArray** envs
);
[C++]

Parameters

envs [out, retval]

  envs is a parameter of type IArray

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Remarks

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.

See Also

IGPEnvironmentManager Interface