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


IGPEnvironment.AddDependency Method (ArcObjects .NET 10.4 SDK)
ArcObjects Library Reference (Geoprocessing)  

IGPEnvironment.AddDependency Method

Adds the name of an environment that the geoprocessing environment is dependent on.

[Visual Basic .NET]
Public Sub AddDependency ( _
    ByVal Name As String _
)
[C#]
public void AddDependency (
    string Name
);
[C++]
HRESULT AddDependency(
  BSTR Name
);
[C++]

Parameters Name [in] Name is a parameter of type BSTR

Product Availability

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

See Also

IGPEnvironment Interface