Disassociate this collection from the given session.

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

Syntax

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

Return Value

true if this was currently associated with the given session

Implements

IPersistentCollection..::.UnsetSession(ISessionImplementor)

See Also