Partager via


SearchServiceApplicationProxy.DeleteLocationConfiguration Method

Deletes the federated location from the Search administration database.

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 SearchServiceApplicationProxy
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)

Exceptions

Exception Condition
Exception

An error, such as a SearchServiceApplicationFault, occurred during application execution.

Remarks

This method deletes the federated location and its entire configuration from the Search administration database.

See Also

Reference

SearchServiceApplicationProxy Class

SearchServiceApplicationProxy Members

Microsoft.Office.Server.Search.Administration Namespace