Partager via


ISearchSiteAdministrationServiceApplication.DeleteLocationConfiguration Method

Deletes the federated LocationConfiguration from the database.

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

Syntax

'Declaration
<OperationContractAttribute> _
Function DeleteLocationConfiguration ( _
    id As Integer _
) As Boolean
'Usage
Dim instance As ISearchSiteAdministrationServiceApplication
Dim id As Integer
Dim returnValue As Boolean

returnValue = instance.DeleteLocationConfiguration(id)
[OperationContractAttribute]
bool DeleteLocationConfiguration(
    int id
)

Parameters

  • id
    Type: System.Int32

    The ID of the federated location to be deleted.

Return Value

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

Remarks

This method deletes the specified federated location from the database.

See Also

Reference

ISearchSiteAdministrationServiceApplication Interface

ISearchSiteAdministrationServiceApplication Members

Microsoft.Office.Server.Search.Administration Namespace