Interface IDatasetEditEx

Namespace
ESRI.ArcGIS.Geodatabase
Assembly
ESRI.Server.Geodatabase.dll

Provides access to more information on the status of datasets being edited.

[InterfaceType(ComInterfaceType.InterfaceIsIUnknown)]
[Guid("60E8162B-1AE0-11D4-9FB1-00C04F6BDF0C")]
public interface IDatasetEditEx

Remarks

Th IDatasetEditEx interface provides detailed information about why a dataset is not being edited (while the dataset's workspace is in an edit session).

Methods

IsBeingEdited(out bool, out int)

True if the dataset is being edited, else returns the reason why it is not editable.

void IsBeingEdited(out bool IsBeingEdited, out int hrReason)

Parameters

IsBeingEdited bool
hrReason int

Remarks

Once an edit session has been started on a workspace, the IsBeingEdited method on the IDatasetEditEx interface can be used to determine if a particular dataset is participating in the edit session, and if its not, what the reason is.

Possible reasons why a dataset may not participate include: the connected user has no privileges or permission to edit the dataset, the connected user is not licensed to edit this type of dataset, or the dataset is not versioned but a versioned edit session has been started (or vice versa).