This document is archived and information here might be outdated. Recommended version. |
Starts editing the workspace.
[Visual Basic .NET]
Public Sub StartEditing ( _
ByVal withUndoRedo As Boolean _
)
[C#]
public void StartEditing (
bool withUndoRedo
);
[C++]
HRESULT StartEditing(
VARIANT_BOOL withUndoRedo
);
[C++] Parameters withUndoRedo
withUndoRedo is a parameter of type bool
FDO_E_VERSION_BEING_RECONCILED: Operation not allowed while the version is being reconciled.
An edit session may be started using the StartEditing method. The withUndoRedo parameter can be used to suppress undo/redo logging if the workspace supports such suppression. Note that the supression of undo/redo logging is not supported for remote database workspaces. StartEditing cannot be called when a edit session is already active. StopEditing must be called first before a new edit session can be started.
Note: With non-versioned editing always be sure to check the current edit state via IsBeingEdited before called StartEditing or StopEditing. If the workspace is being edited outside your context, there is no need to call StartEditing.