ISchemaOperations.UpdateCrawledProperty method

Update a crawled property.

Namespace:  Microsoft.Office.Server.Search.Administration
Assembly:  Microsoft.Office.Server.Search (in Microsoft.Office.Server.Search.dll)

Syntax

'Declaration
<FaultContractAttribute(GetType(SearchServiceApplicationFault))> _
<OperationContractAttribute> _
Function UpdateCrawledProperty ( _
    crawledProperty As CrawledPropertyInfo, _
    owner As SearchObjectOwner _
) As CrawledPropertyInfo
'Usage
Dim instance As ISchemaOperations
Dim crawledProperty As CrawledPropertyInfo
Dim owner As SearchObjectOwner
Dim returnValue As CrawledPropertyInfo

returnValue = instance.UpdateCrawledProperty(crawledProperty, _
    owner)
[FaultContractAttribute(typeof(SearchServiceApplicationFault))]
[OperationContractAttribute]
CrawledPropertyInfo UpdateCrawledProperty(
    CrawledPropertyInfo crawledProperty,
    SearchObjectOwner owner
)

Parameters

Return value

Type: Microsoft.Office.Server.Search.Administration.CrawledPropertyInfo
The updated crawled property.

Remarks

Even if all properties in CrawledPropertyInfo are writable, some properties are read only in the Schema OM. Only writable properties will be updated. The rest of the values will be discarded.

See also

Reference

ISchemaOperations interface

ISchemaOperations members

Microsoft.Office.Server.Search.Administration namespace