Spring.NET 1.3.0 RC1 for .NET 2.0 API Reference

SessionHolder.RemoveSession Method

Removes the session from the dictionary storage for the given key.

[Visual Basic]
Public Sub RemoveSession( _
   ByVal key As Object _
)
[C#]
public ISession RemoveSession(
   object key
);

Parameters

key
The key.

Return Value

The session that was previously contained in the dictionary storage.

See Also

SessionHolder Class | Spring.Data.NHibernate Namespace