MappingCollection.Remove method
Removes a specified mapping from this collection.
Namespace: Microsoft.Office.Server.Search.Administration
Assembly: Microsoft.Office.Server.Search (in Microsoft.Office.Server.Search.dll)
Syntax
'Declaration
Public Function Remove ( _
mapping As Mapping _
) As Boolean
'Usage
Dim instance As MappingCollection
Dim mapping As Mapping
Dim returnValue As Boolean
returnValue = instance.Remove(mapping)
public bool Remove(
Mapping mapping
)
Parameters
- mapping
Type: Microsoft.Office.Server.Search.Administration.Mapping
Return value
Type: System.Boolean
[true] if the mapping was successfully removed, otherwise [false].