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("Use IsLocked(Directory)")]
public static bool IsLocked(
	string directory
)
Visual Basic
<ObsoleteAttribute("Use IsLocked(Directory)")> _
Public Shared Function IsLocked ( _
	directory As String _
) As Boolean
Visual C++
[ObsoleteAttribute(L"Use IsLocked(Directory)")]
public:
static bool IsLocked(
	String^ directory
)

Parameters

directory
Type: System..::..String
the directory to check for a lock

Return Value

[Missing <returns> documentation for "M:Lucene.Net.Index.IndexWriter.IsLocked(System.String)"]

See Also