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) instead. This method will be removed in the 3.0 release.")]
public static bool IsLocked(
	string directory
)
Visual Basic
<ObsoleteAttribute("Use IsLocked(Directory) instead. This method will be removed in the 3.0 release.")> _
Public Shared Function IsLocked ( _
	directory As String _
) As Boolean
Visual C++
[ObsoleteAttribute(L"Use IsLocked(Directory) instead. This method will be removed in the 3.0 release.")]
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.IndexReader.IsLocked(System.String)"]

See Also