ISchemaOperations.QueryCrawledProperties 方法
查询已爬网属性。
命名空间: Microsoft.Office.Server.Search.Administration
程序集: Microsoft.Office.Server.Search(位于 Microsoft.Office.Server.Search.dll 中)
语法
声明
<OperationContractAttribute> _
<FaultContractAttribute(GetType(SearchServiceApplicationFault))> _
Function QueryCrawledProperties ( _
category As CategoryInfo, _
findValue As String, _
count As Integer, _
lastPropset As Guid, _
lastPropertyName As String, _
forward As Boolean, _
includeManagedMappedProperties As Boolean, _
owner As SearchObjectOwner _
) As List(Of CrawledPropertyInfo)
用法
Dim instance As ISchemaOperations
Dim category As CategoryInfo
Dim findValue As String
Dim count As Integer
Dim lastPropset As Guid
Dim lastPropertyName As String
Dim forward As Boolean
Dim includeManagedMappedProperties As Boolean
Dim owner As SearchObjectOwner
Dim returnValue As List(Of CrawledPropertyInfo)
returnValue = instance.QueryCrawledProperties(category, _
findValue, count, lastPropset, lastPropertyName, _
forward, includeManagedMappedProperties, _
owner)
[OperationContractAttribute]
[FaultContractAttribute(typeof(SearchServiceApplicationFault))]
List<CrawledPropertyInfo> QueryCrawledProperties(
CategoryInfo category,
string findValue,
int count,
Guid lastPropset,
string lastPropertyName,
bool forward,
bool includeManagedMappedProperties,
SearchObjectOwner owner
)
参数
category
类型:Microsoft.Office.Server.Search.Administration.CategoryInfo限制于特定类别的已爬网的属性。使用**[null]**来限制对单个类别。
findValue
类型:System.String限制到那些包含提供的值的已爬网的属性。忽略大小写。**[null]**用于不受限制。
count
类型:System.Int32要返回的已爬网属性的最大数目。使用 0 来限制搜索。
lastPropset
类型:System.Guid只是之前的一组属性的属性来检索 Guid。
lastPropertyName
类型:System.String只是之前要检索的属性集的属性的名称。
forward
类型:System.Boolean是否要从lastPropertyName向前或向后搜索。
includeManagedMappedProperties
类型:System.Boolean在结果中包括托管的属性的映射。
owner
类型:Microsoft.Office.Server.Search.Administration.SearchObjectOwner表示 Sharepoint 层次结构中包含的已爬网的属性。
返回值
类型:System.Collections.Generic.List<CrawledPropertyInfo>
CrawledPropertyInfo 对象的列表。