PrincipalSearcher.FindAll 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 a principal search result that contains a collection of all the principal objects that match the principal specified in the query filter property.
public:
System::DirectoryServices::AccountManagement::PrincipalSearchResult<System::DirectoryServices::AccountManagement::Principal ^> ^ FindAll();
public System.DirectoryServices.AccountManagement.PrincipalSearchResult<System.DirectoryServices.AccountManagement.Principal> FindAll ();
[System.Security.SecurityCritical]
public System.DirectoryServices.AccountManagement.PrincipalSearchResult<System.DirectoryServices.AccountManagement.Principal> FindAll ();
member this.FindAll : unit -> System.DirectoryServices.AccountManagement.PrincipalSearchResult<System.DirectoryServices.AccountManagement.Principal>
[<System.Security.SecurityCritical>]
member this.FindAll : unit -> System.DirectoryServices.AccountManagement.PrincipalSearchResult<System.DirectoryServices.AccountManagement.Principal>
Public Function FindAll () As PrincipalSearchResult(Of Principal)
Returns
A PrincipalSearchResult<T> object that matches the query filter or an empty collection if no results are found.
- Attributes
Exceptions
The QueryFilter contains referential properties. For more information, see the Query by Example overview topic.
The QueryFilter is a persisted principal.
A QueryFilter must first be assigned to the principal searcher before the query can be performed.
Remarks
The principal objects returned in the principal search result match the type of object contained in the QueryFilter property. The search is conducted in the context specified in the Context property. For more information, see the Query by Example overview topic.
Applies to
See also
.NET
피드백
https://aka.ms/ContentUserFeedback
출시 예정: 2024년 내내 콘텐츠에 대한 피드백 메커니즘으로 GitHub 문제를 단계적으로 폐지하고 이를 새로운 피드백 시스템으로 바꿀 예정입니다. 자세한 내용은 다음을 참조하세요.다음에 대한 사용자 의견 제출 및 보기