Enable the named filter for this current session.

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

Syntax

Visual Basic (Declaration)
Function EnableFilter ( _
	filterName As String _
) As IFilter
C#
IFilter EnableFilter(
	string filterName
)
Visual C++
IFilter^ EnableFilter(
	String^ filterName
)
JavaScript
function enableFilter(filterName);

Parameters

filterName
Type: System..::.String
The name of the filter to be enabled.

Return Value

The Filter instance representing the enabled fiter.

See Also