This document is archived and information here might be outdated. Recommended version. |
Locates a geoprocessing environment with the given name in the given array.
[Visual Basic .NET] Public Function GetEnvironment ( _ ByVal pEnvironments As IArray, _ ByVal Name As String _ ) As IGPEnvironment
[C#] public IGPEnvironment GetEnvironment ( IArray pEnvironments, string Name );
[C++]
HRESULT GetEnvironment(
IArray* pEnvironments,
BSTR Name
);
[C++] Parameters pEnvironments [in]
pEnvironments is a parameter of type IArray* Name [in]
Name is a parameter of type BSTR
The GetEnvironment property provides access to any geoprocessing environments for an application or session.
Refer to the code sample to see how to use this property.