PrincipalSearcher.GetUnderlyingSearcher Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Returns the underlying search object that is used by the Account Management API to perform the search.
public:
System::Object ^ GetUnderlyingSearcher();
public object GetUnderlyingSearcher ();
[System.Security.SecurityCritical]
public object GetUnderlyingSearcher ();
member this.GetUnderlyingSearcher : unit -> obj
[<System.Security.SecurityCritical>]
member this.GetUnderlyingSearcher : unit -> obj
Public Function GetUnderlyingSearcher () As Object
Returns
A DirectorySearcher object.
- Attributes
Exceptions
A QueryFilter must first be assigned to the principal searcher before the query can be performed.
The QueryFilter contains referential properties. For more information, see the Query by Example overview topic.
The QueryFilter is a persisted principal.
Remarks
The application can modify the properties directly on the DirectorySearcher object before executing the query. The query will then execute using the modified properties. For example, the default page size of 256 KB is used when the PrincipalSearcher class performs a query for Domain principals. The application may override the default value by setting the PageSize property in the underlying DirectorySearcher object that is returned from this method.
Applies to
See also
Feedback
https://aka.ms/ContentUserFeedback.
Kommer snart: I hele 2024 udfaser vi GitHub-problemer som feedbackmekanisme for indhold og erstatter det med et nyt feedbacksystem. Du kan få flere oplysninger under:Indsend og få vist feedback om