DotLucene 1.4 API Documentation |

# IndexReader.IsLocked Method

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

#### Overload List

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

> public static bool IsLocked(Directory);

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

> public static bool IsLocked(string);

#### See Also

IndexReader Class | Lucene.Net.Index Namespace