Query.ResultTypes 属性

请注意:此 API 现在已过时。

获取或设置一个值,指定在搜索结果的类型。

命名空间:  Microsoft.Office.Server.Search.Query
程序集:  Microsoft.Office.Server.Search(位于 Microsoft.Office.Server.Search.dll 中)

语法

声明
<ObsoleteAttribute("It's not required to specify which types of ResultTables should be returned anymore, since all of them are returned by default.")> _
Public Property ResultTypes As ResultType
    Get
    Set
用法
Dim instance As Query
Dim value As ResultType

value = instance.ResultTypes

instance.ResultTypes = value
[ObsoleteAttribute("It's not required to specify which types of ResultTables should be returned anymore, since all of them are returned by default.")]
public ResultType ResultTypes { get; set; }

属性值

类型:Microsoft.Office.Server.Search.Query.ResultType
一个值,指定在搜索结果的类型。

另请参阅

引用

Query 类

Query 成员

Microsoft.Office.Server.Search.Query 命名空间