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


IGPEnvironmentManager.GetEnvironments Method (ArcObjects .NET 10.6 SDK)
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(
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