Enable the named filter for this current session.

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

Syntax

C#
IFilter EnableFilter(
	string filterName
)
Visual Basic
Function EnableFilter ( _
	filterName As String _
) As IFilter
Visual C++
IFilter^ EnableFilter(
	String^ filterName
)

Parameters

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

Return Value

The Filter instance representing the enabled filter.

See Also