SpreadsheetGear 2017
UnwindLock Method (IWorkbookSet)






SpreadsheetGear Namespace > IWorkbookSet Interface : UnwindLock Method
Unwinds the locks for the workbook set and returns the rewind count.
Syntax
'Declaration
 
Function UnwindLock() As System.Integer
'Usage
 
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 RewindLock.
Remarks

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.
Requirements

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

Reference

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