Disassociate this collection from the given session.

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

Syntax

Visual Basic (Declaration)
Function UnsetSession ( _
	session As ISessionImplementor _
) As Boolean
C#
bool UnsetSession(
	ISessionImplementor session
)
Visual C++
bool UnsetSession(
	ISessionImplementor^ session
)
JavaScript
function unsetSession(session);

Return Value

true if this was currently associated with the given session

See Also