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.Int32The 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