Share via


ManagedProperty.SetCrawledPropertyMappings Method

Sets a list of crawled properties that map to the managed property.

Namespace:  Microsoft.SharePoint.Search.Extended.Administration.Schema
Assembly:  Microsoft.SharePoint.Search.Extended.Administration (in Microsoft.SharePoint.Search.Extended.Administration.dll)

Syntax

'Declaration
Sub SetCrawledPropertyMappings ( _
    cpm As CrawledPropertyMapping _
)
'Usage
Dim instance As ManagedProperty
Dim cpm As CrawledPropertyMapping

instance.SetCrawledPropertyMappings(cpm)
void SetCrawledPropertyMappings(
    CrawledPropertyMapping cpm
)

Parameters

Exceptions

Exception Condition
AdminException

if the managed property does not exist or is not mappable.

See Also

Reference

ManagedProperty Interface

ManagedProperty Members

Microsoft.SharePoint.Search.Extended.Administration.Schema Namespace

GetCrawledPropertyMappings()

Other Resources

ManagedProperty