ISchemaOperations.GetCrawledProperty method
Get a crawled property.
Namespace: Microsoft.Office.Server.Search.Administration
Assembly: Microsoft.Office.Server.Search (in Microsoft.Office.Server.Search.dll)
Syntax
'Declaration
<OperationContractAttribute> _
<FaultContractAttribute(GetType(SearchServiceApplicationFault))> _
Function GetCrawledProperty ( _
propertySet As Guid, _
name As String, _
includeNumSamples As Integer, _
includeManagedMappedProperties As Boolean, _
owner As SearchObjectOwner _
) As CrawledPropertyInfo
'Usage
Dim instance As ISchemaOperations
Dim propertySet As Guid
Dim name As String
Dim includeNumSamples As Integer
Dim includeManagedMappedProperties As Boolean
Dim owner As SearchObjectOwner
Dim returnValue As CrawledPropertyInfo
returnValue = instance.GetCrawledProperty(propertySet, _
name, includeNumSamples, includeManagedMappedProperties, _
owner)
[OperationContractAttribute]
[FaultContractAttribute(typeof(SearchServiceApplicationFault))]
CrawledPropertyInfo GetCrawledProperty(
Guid propertySet,
string name,
int includeNumSamples,
bool includeManagedMappedProperties,
SearchObjectOwner owner
)
Parameters
propertySet
Type: System.GuidThe Guid of the property set containing the crawled property.
name
Type: System.StringThe name of the crawled property to retrieve.
includeNumSamples
Type: System.Int32This parameter is ignored.
includeManagedMappedProperties
Type: System.BooleanWhether to include managed property mappings.
owner
Type: Microsoft.Office.Server.Search.Administration.SearchObjectOwnerRepresents the Sharepoint hierarchy in which the crawled property is contained.
Return value
Type: Microsoft.Office.Server.Search.Administration.CrawledPropertyInfo
The found crawled property. Throws an exception if the crawled property cannot be found.