Share via


LocationConfigurationCollection.Remove method (String)

Removes a [Microsoft.Office.Server.Search.Administration.LocationConfiguration] object whose internal name or display name matches the specified string.

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

Syntax

'Declaration
Public Function Remove ( _
    name As String _
) As Boolean
'Usage
Dim instance As LocationConfigurationCollection
Dim name As String
Dim returnValue As Boolean

returnValue = instance.Remove(name)
public bool Remove(
    string name
)

Parameters

Return value

Type: System.Boolean

See also

Reference

LocationConfigurationCollection class

LocationConfigurationCollection members

Remove overload

Microsoft.Office.Server.Search.Administration namespace