SearchRequest Constructors
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.
The SearchRequest() constructor creates an instance of the SearchRequest class.
Overloads
SearchRequest() |
The SearchRequest() constructor creates an instance of the SearchRequest class. This constructor creates an empty request. |
SearchRequest(String, String, SearchScope, String[]) |
The SearchRequest(String, String, SearchScope, String[]) constructor creates an instance of the SearchRequest class using the specified name, search filter, scope, and attributes. |
SearchRequest(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. |
SearchRequest()
- Source:
- DirectoryRequest.cs
- Source:
- DirectoryRequest.cs
- Source:
- DirectoryRequest.cs
- Source:
- DirectoryRequest.cs
The SearchRequest() constructor creates an instance of the SearchRequest class. This constructor creates an empty request.
public:
SearchRequest();
public SearchRequest ();
Public Sub New ()
Applies to
SearchRequest(String, String, SearchScope, String[])
- Source:
- DirectoryRequest.cs
- Source:
- DirectoryRequest.cs
- Source:
- DirectoryRequest.cs
- Source:
- DirectoryRequest.cs
The SearchRequest(String, String, SearchScope, String[]) constructor creates an instance of the SearchRequest class using the specified name, search filter, scope, and attributes.
public:
SearchRequest(System::String ^ distinguishedName, System::String ^ ldapFilter, System::DirectoryServices::Protocols::SearchScope searchScope, ... cli::array <System::String ^> ^ attributeList);
public SearchRequest (string distinguishedName, string ldapFilter, System.DirectoryServices.Protocols.SearchScope searchScope, params string[] attributeList);
new System.DirectoryServices.Protocols.SearchRequest : string * string * System.DirectoryServices.Protocols.SearchScope * string[] -> System.DirectoryServices.Protocols.SearchRequest
Public Sub New (distinguishedName As String, ldapFilter As String, searchScope As SearchScope, ParamArray attributeList As String())
Parameters
- distinguishedName
- String
The distinguished name of the object at which to start the search.
- ldapFilter
- String
An LDAP search filter.
- searchScope
- SearchScope
One of the values of SearchScope that specifies the search scope.
- attributeList
- String[]
An array that contains the requested attributes in the result set.
Applies to
SearchRequest(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.
public:
SearchRequest(System::String ^ distinguishedName, System::Xml::XmlDocument ^ filter, System::DirectoryServices::Protocols::SearchScope searchScope, ... cli::array <System::String ^> ^ attributeList);
public SearchRequest (string distinguishedName, System.Xml.XmlDocument filter, System.DirectoryServices.Protocols.SearchScope searchScope, params string[] attributeList);
new System.DirectoryServices.Protocols.SearchRequest : string * System.Xml.XmlDocument * System.DirectoryServices.Protocols.SearchScope * string[] -> System.DirectoryServices.Protocols.SearchRequest
Public Sub New (distinguishedName As String, filter As XmlDocument, searchScope As SearchScope, ParamArray attributeList As String())
Parameters
- distinguishedName
- String
The distinguished name of the object for which to search.
- filter
- XmlDocument
A DSML v2 search filter.
- searchScope
- SearchScope
A SearchScope value that specifies the search scope. The default value is SearchScope.
- attributeList
- String[]
An array that contains the requested attributes in the result set.
Applies to
.NET
피드백
https://aka.ms/ContentUserFeedback
출시 예정: 2024년 내내 콘텐츠에 대한 피드백 메커니즘으로 GitHub 문제를 단계적으로 폐지하고 이를 새로운 피드백 시스템으로 바꿀 예정입니다. 자세한 내용은 다음을 참조하세요.다음에 대한 사용자 의견 제출 및 보기