LockResult

A type representing the possible results of attempting to acquire a lock.

Union Cases

Union CaseDescription
Error(int)
Signature: int

The attempt to acquire a lock caused an error in SQL Server

Locked(Lock)
Signature: Lock

A lock was successfully acquired

Unavailable
Signature:

No lock was available

Instance members

Instance memberDescription
Dispose()
Signature: unit -> unit

Disposing a lock result disposes the lock if it was acquired, and has no effect otherwise

Fork me on GitHub