ISchemaOperations.QueryCrawledProperties method
Query crawled properties.
Namespace: Microsoft.Office.Server.Search.Administration
Assembly: Microsoft.Office.Server.Search (in Microsoft.Office.Server.Search.dll)
Syntax
'Declaration
<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)
'Usage
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
)
Parameters
category
Type: Microsoft.Office.Server.Search.Administration.CategoryInfoLimit the crawled properties to a certain category. Use [null] to not restrict to a single category.
findValue
Type: System.StringLimit the crawled properties to those containing provided value. Case is ignored. Use [null] for no restrictions.
count
Type: System.Int32The maximum number of crawled properties to return. Use 0 to not limit the search.
lastPropset
Type: System.GuidThe Guid of the property just before the set of properties to retrieve.
lastPropertyName
Type: System.StringThe name of the property just before the set of properties to retrieve.
forward
Type: System.BooleanWhether to search forwards or backwards from lastPropertyName.
includeManagedMappedProperties
Type: System.BooleanInclude managed property mappings in the result.
owner
Type: Microsoft.Office.Server.Search.Administration.SearchObjectOwnerRepresents the Sharepoint hierarchy in which the crawled properties are contained.
Return value
Type: System.Collections.Generic.List<CrawledPropertyInfo>
A list of CrawledPropertyInfo objects.