Returns
CopyC#
true
iff the index in the named directory is currently locked.

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

Syntax

C#
[ObsoleteAttribute("Please use IndexWriter.IsLocked(Directory) instead. This method will be removed in the 3.0 release.")]
public static bool IsLocked(
	Directory directory
)
Visual Basic
<ObsoleteAttribute("Please use IndexWriter.IsLocked(Directory) instead. This method will be removed in the 3.0 release.")> _
Public Shared Function IsLocked ( _
	directory As Directory _
) As Boolean
Visual C++
[ObsoleteAttribute(L"Please use IndexWriter.IsLocked(Directory) instead. This method will be removed in the 3.0 release.")]
public:
static bool IsLocked(
	Directory^ directory
)

Parameters

directory
Type: Lucene.Net.Store..::..Directory
the directory to check for a lock

Return Value

[Missing <returns> documentation for "M:Lucene.Net.Index.IndexReader.IsLocked(Lucene.Net.Store.Directory)"]

See Also