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


IMdModel.Execute Method (ArcObjects .NET 10.6 SDK)
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 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 bool

Product Availability

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

See Also

IMdModel Interface