API Reference
Class
SearchOptions
Represents common options for LDAP searches.
Inheritance
- Object
- SearchOptions
Usage
This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.
Returned or exposed by
- Method SearchOptions.Parse
Accepted by parameters
- Constructor LdapQueryBuilder.LdapQueryBuilder
Constructors
public SearchOptions(String domainName = null, String forestName = null, SearchScope searchScope = Subtree, Int32 pageSize = 1000) #Creates a new instance with optional parameters.
Parameters
- domainName System.String = null
- forestName System.String = null
- searchScope System.DirectoryServices.SearchScope = Subtree
- pageSize System.Int32 = 1000
Methods
public static SearchOptions Parse(IDictionary<String, Object> parameters) #Returns:
SearchOptionsParses options from a dictionary.
Parameters
- parameters System.Collections.Generic.IDictionary{System.String,System.Object}
Inherited Methods
public override Boolean Equals(Object obj) #Returns:
BooleanInherited from Object
Parameters
- obj Object
Properties
public SearchScope SearchScope { get; set; } #Search scope to use.