AdvancedFilters.AdvancedFilterSet(String, Object, Type, MatchType) 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.
Creates a query filter for a property in an extended class.
protected:
void AdvancedFilterSet(System::String ^ attribute, System::Object ^ value, Type ^ objectType, System::DirectoryServices::AccountManagement::MatchType mt);
protected void AdvancedFilterSet (string attribute, object value, Type objectType, System.DirectoryServices.AccountManagement.MatchType mt);
[System.Security.SecurityCritical]
protected void AdvancedFilterSet (string attribute, object value, Type objectType, System.DirectoryServices.AccountManagement.MatchType mt);
member this.AdvancedFilterSet : string * obj * Type * System.DirectoryServices.AccountManagement.MatchType -> unit
[<System.Security.SecurityCritical>]
member this.AdvancedFilterSet : string * obj * Type * System.DirectoryServices.AccountManagement.MatchType -> unit
Protected Sub AdvancedFilterSet (attribute As String, value As Object, objectType As Type, mt As MatchType)
Parameters
- attribute
- String
The name of the attribute.
- value
- Object
An object.
- objectType
- Type
The object type of value
.
- Attributes
Examples
In an extended class, you might implement an advanced search filter for LogonCount
:
public class InetOrgPersonSearchFilter : AdvancedFilters
{
public InetOrgPersonSearchFilter(Principal p) : base(p) { }
public void LogonCount(int value, MatchType mt)
{
this.AdvancedFilterSet("LogonCount", value, typeof(int), mt);
}
}
Applies to
See also
GitHub에서 Microsoft와 공동 작업
이 콘텐츠의 원본은 GitHub에서 찾을 수 있으며, 여기서 문제와 끌어오기 요청을 만들고 검토할 수도 있습니다. 자세한 내용은 참여자 가이드를 참조하세요.
.NET