PrincipalSearcher.GetUnderlyingSearcherType 方法

定义

返回从 GetUnderlyingSearcher() 方法返回的对象的类型。Returns the type of the object returned from the GetUnderlyingSearcher() method.

public:
 Type ^ GetUnderlyingSearcherType();
public Type GetUnderlyingSearcherType ();
[System.Security.SecurityCritical]
public Type GetUnderlyingSearcherType ();
member this.GetUnderlyingSearcherType : unit -> Type
[<System.Security.SecurityCritical>]
member this.GetUnderlyingSearcherType : unit -> Type
Public Function GetUnderlyingSearcherType () As Type

返回

Type

一个 Type,指定从 GetUnderlyingSearcher() 方法返回的对象的类型。A Type that specifies the type of object returned from the GetUnderlyingSearcher() method.

属性

例外

执行查询之前,必须先将 QueryFilter 分配给主体搜索器。A QueryFilter must first be assigned to the principal searcher before the query can be performed.

适用于