Filter Property
Collapse the table of content
Expand the table of content

SearchRequest.Filter Property


The Filter property contains the search filter.

Namespace:   System.DirectoryServices.Protocols
Assembly:  System.DirectoryServices.Protocols (in System.DirectoryServices.Protocols.dll)

public object Filter { get; set; }

Property Value

Type: System.Object

The search filter. If the value is a string, this property is an LDAP search filter. If the value is an XML document, the property is a DSML v2 search filter. Any other type throws an exception.

Exception Condition

The value is not a string or an XML document.

.NET Framework
Available since 2.0
Return to top
© 2016 Microsoft