SearchServiceApplication.DeleteConsumer Method
Removes the specified Search scope consumer from the SearchAdminDatabase.
Namespace: Microsoft.Office.Server.Search.Administration
Assembly: Microsoft.Office.Server.Search (in Microsoft.Office.Server.Search.dll)
Syntax
'Declaration
Public Sub DeleteConsumer ( _
consumerName As String _
)
'Usage
Dim instance As SearchServiceApplication
Dim consumerName As String
instance.DeleteConsumer(consumerName)
public void DeleteConsumer(
string consumerName
)
Parameters
consumerName
Type: System.StringThe name of the specified Search scope consumer.
Implements
ISearchSiteAdministrationServiceApplication.DeleteConsumer(String)
Remarks
This method deletes the Search scope consumer from the SearchAdminDatabase. The consumerName parameter must not be null .
See Also
Reference
SearchServiceApplication Class