Determine the current lock mode of the given object

Namespace:  NHibernate
Assembly:  NHibernate (in NHibernate.dll)

Syntax

Visual Basic (Declaration)
Function GetCurrentLockMode ( _
	obj As Object _
) As LockMode
C#
LockMode GetCurrentLockMode(
	Object obj
)
Visual C++
LockMode^ GetCurrentLockMode(
	Object^ obj
)
JavaScript
function getCurrentLockMode(obj);

Parameters

obj
Type: System..::.Object
A persistent instance

Return Value

The current lock mode

See Also