SpreadsheetGear 2017
UnwindLock Method (IWorkbookSet)

SpreadsheetGear Namespace > IWorkbookSet Interface : UnwindLock Method
Unwinds the locks for the workbook set and returns the rewind count.
Function UnwindLock() As System.Integer
Dim instance As IWorkbookSet
Dim value As System.Integer
value = instance.UnwindLock()
System.int UnwindLock()
function UnwindLock(): System.Integer; 
function UnwindLock() : System.int;
System.int UnwindLock(); 
System.int UnwindLock(); 

Return Value

The rewind count which must be passed to IWorkbookSet.RewindLock.

This method is thread safe.

Unwinding the locks associated with a workbook set is useful when a time consuming or modal action must be taken in response to an event.

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also


IWorkbookSet Interface
IWorkbookSet Members
HasLock Property
GetLock Method
ReleaseLock Method
RewindLock Method