Lucene.Net 1.4.3 Class Library

Lock.Obtain Method ()

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

public abstract bool Obtain();

Return Value

true iff exclusive access is obtained

See Also

Lock Class | Lucene.Net.Store Namespace | Lock.Obtain Overload List