Share via


SearchServiceApplication.DeleteLocationConfiguration method

Deletes the federated location from the SearchAdminDatabase.

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

Syntax

'Declaration
Public Function DeleteLocationConfiguration ( _
    id As Integer _
) As Boolean
'Usage
Dim instance As SearchServiceApplication
Dim id As Integer
Dim returnValue As Boolean

returnValue = instance.DeleteLocationConfiguration(id)
public bool DeleteLocationConfiguration(
    int id
)

Parameters

  • id
    Type: System.Int32

    The ID of the federated location that will be deleted.

Return value

Type: System.Boolean
true if the federated location is deleted; otherwise, false.

Implements

ISearchSiteAdministrationServiceApplication.DeleteLocationConfiguration(Int32)

Remarks

This method deletes the federated location and its entire configuration from the SearchAdminDatabase.

See also

Reference

SearchServiceApplication class

SearchServiceApplication members

Microsoft.Office.Server.Search.Administration namespace