This document is archived and information here might be outdated.  Recommended version.


IGPEnvironmentManager.GetEnvironments Method (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > Geoprocessing > ESRI.ArcGIS.Geoprocessing > Interfaces > IG > IGPEnvironmentManager Interface > IGPEnvironmentManager.GetEnvironments Method
ArcGIS Developer Help

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(
void
);

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