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
cpm
Type: Microsoft.SharePoint.Search.Extended.Administration.Schema.CrawledPropertyMappingThe crawled property mapping object listing all crawled properties that map to the managed property.
Exceptions
Exception | Condition |
---|---|
AdminException | if the managed property does not exist or is not mappable. |
See Also
Reference
Microsoft.SharePoint.Search.Extended.Administration.Schema Namespace