Starts editing the workspace.
[Visual Basic 6.0] Sub StartEditing(
ByVal withUndoRedo As Boolean _
)
[Visual Basic .NET] Public Sub StartEditing ( _ ByVal withUndoRedo As Boolean _ )
[C#] public void StartEditing ( bool withUndoRedo );
[Java] public void startEditing ( Boolean withUndoRedo ) throws IOException, AutomationException
[C++]
HRESULT StartEditing(
VARIANT_BOOL withUndoRedo
);
Parameters
withUndoRedo
withUndoRedo is a parameter of type VARIANT_BOOL
FDO_E_VERSION_BEING_RECONCILED = [-2147217138]
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 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 EditState via ::IsBeingEdited before called StartEditing or StopEditing. If the workspace is being edited outside your context, there is no need to call ::StartEditing.