SearchRequest Constructor (String, XmlDocument, SearchScope, String[])

 

The SearchRequest(String, XmlDocument, SearchScope, String[]) constructor creates an instance of the SearchRequest class using the specified name, search filter, scope, and attributes.

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

public SearchRequest(
	string distinguishedName,
	XmlDocument filter,
	SearchScope searchScope,
	params string[] attributeList
)

Parameters

distinguishedName
Type: System.String

The distinguished name of the object for which to search.

filter
Type: System.Xml.XmlDocument

A DSML v2 search filter.

searchScope
Type: System.DirectoryServices.Protocols.SearchScope

A SearchScope value that specifies the search scope. The default value is System.DirectoryServices.Protocols.SearchScope.

attributeList
Type: System.String[]

An array that contains the requested attributes in the result set.

.NET Framework
Available since 2.0
Return to top
Show: