Attempts to obtain exclusive access and immediately return upon success or failure.

Namespace: Lucene.Net.Store
Assembly: Lucene.Net (in Lucene.Net.dll) Version: 2.9.4.1

Syntax

C#
public abstract bool Obtain()
Visual Basic
Public MustOverride Function Obtain As Boolean
Visual C++
public:
virtual bool Obtain() abstract

Return Value

true iff exclusive access is obtained

See Also