Description

Releases a McDBNode Write Lock made by this object.

Return Type

An Integer value.   A Integer with value LockNode count.
Failure Returns -1..

Syntax

object.UnlockNode

The UnlockNode Method syntax has these parts:

PartDescription
objectAn expression evaluating to an object of type McDataNodeRef.

Remarks

While the Node is locked no other clients will be able to modify it.
Under normal circumstances this function should only be used when
.LockNodeMode = mcdatNRLOptimistic.

Exceptions

E_INVALIDARG: LockNodeMode = mcdatNRLNone. E_INVALIDARG: This object does not have a lock on the node. E_INVALIDARG: ReferenceActive == False; Me does not contain a valid McDBNode. E_FAIL: This object does have a lock on the node, but Node is not Locked. Propagated: .LockMode = mcdbNoLock E_FAIL: The Node was not locked.