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#
public static bool IsLocked(
	Directory directory
)
Visual Basic
Public Shared Function IsLocked ( _
	directory As Directory _
) As Boolean
Visual C++
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.IndexWriter.IsLocked(Lucene.Net.Store.Directory)"]

See Also