ArcObjects Library Reference (Geoprocessing)  

IMdModel.Execute Method

Executes all the processes in the model.

[Visual Basic .NET]
Public Sub Execute ( _
    ByVal TrackCancel As ITrackCancel, _
    ByVal Reset As Boolean, _
    ByVal pEnvMgr As IGPEnvironmentManager, _
    ByVal Messages As IGPMessages, _
    ByVal stopOnFirstFailure As Boolean _
)
[C#]
public void Execute (
    ITrackCancel TrackCancel,
    bool Reset,
    IGPEnvironmentManager pEnvMgr,
    IGPMessages Messages,
    bool stopOnFirstFailure
);
[C++]
HRESULT Execute(
  ITrackCancel* TrackCancel,
  VARIANT_BOOL Reset,
  IGPEnvironmentManager* pEnvMgr,
  IGPMessages* Messages,
  VARIANT_BOOL stopOnFirstFailure
);
[C++]

Parameters

TrackCancel [in]

  TrackCancel is a parameter of type ITrackCancel

Reset [in]   Reset is a parameter of type VARIANT_BOOL pEnvMgr [in]

  pEnvMgr is a parameter of type IGPEnvironmentManager

Messages [in]

  Messages is a parameter of type IGPMessages

stopOnFirstFailure [in]   stopOnFirstFailure is a parameter of type VARIANT_BOOL

Product Availability

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

See Also

IMdModel Interface