SpreadsheetGear 2023
HasLock Property (IWorkbookSet)


SpreadsheetGear Namespace > IWorkbookSet Interface : HasLock Property
Returns true if the current thread has acquired a lock on this workbook set by calling IWorkbookSet.GetLock or one of the other methods which acquire a lock on a workbook set.
Syntax
'Declaration
 
ReadOnly Property HasLock As System.Boolean
'Usage
 
Dim instance As IWorkbookSet
Dim value As System.Boolean
 
value = instance.HasLock
System.bool HasLock {get;}
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
GetLock Method
ReleaseLock Method
RewindLock Method
UnwindLock Method
BackgroundCalculation Property