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


IMdModel.ExecuteProcess Method (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > Geoprocessing > ESRI.ArcGIS.Geoprocessing > Interfaces > IM > IMdModel Interface > IMdModel.ExecuteProcess Method
ArcGIS Developer Help

IMdModel.ExecuteProcess Method

Executes a single process in the model.

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

pMdProcess is a parameter of type IMdProcess* 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