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

    The 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

SearchServiceApplication members

Microsoft.Office.Server.Search.Administration namespace