ISchemaOperations.DeleteManagedProperty method
Delete a managed property. This will also delete all the mappings and aliases for the managed property.
Namespace: Microsoft.Office.Server.Search.Administration
Assembly: Microsoft.Office.Server.Search (in Microsoft.Office.Server.Search.dll)
Syntax
'Declaration
<FaultContractAttribute(GetType(SearchServiceApplicationFault))> _
<OperationContractAttribute> _
Sub DeleteManagedProperty ( _
managedProperty As ManagedPropertyInfo, _
owner As SearchObjectOwner _
)
'Usage
Dim instance As ISchemaOperations
Dim managedProperty As ManagedPropertyInfo
Dim owner As SearchObjectOwner
instance.DeleteManagedProperty(managedProperty, _
owner)
[FaultContractAttribute(typeof(SearchServiceApplicationFault))]
[OperationContractAttribute]
void DeleteManagedProperty(
ManagedPropertyInfo managedProperty,
SearchObjectOwner owner
)
Parameters
managedProperty
Type: Microsoft.Office.Server.Search.Administration.ManagedPropertyInfoThe managed property to delete.
owner
Type: Microsoft.Office.Server.Search.Administration.SearchObjectOwnerRepresents the Sharepoint hierarchy in which the managed property is contained.