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.Guid

    The Guid of the property set containing the crawled property.

  • name
    Type: System.String

    The name of the crawled property to retrieve.

  • includeNumSamples
    Type: System.Int32

    This parameter is ignored.

  • includeManagedMappedProperties
    Type: System.Boolean

    Whether to include managed property mappings.

Return value

Type: Microsoft.Office.Server.Search.Administration.CrawledPropertyInfo
The found crawled property. Throws an exception if the crawled property cannot be found.

See also

Reference

ISchemaOperations interface

ISchemaOperations members

Microsoft.Office.Server.Search.Administration namespace