SearchServiceApplicationProxy.DeleteConsumer method

Removes the specified Search scope consumer 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 Sub DeleteConsumer ( _
    consumerName As String _
)
'Usage
Dim instance As SearchServiceApplicationProxy
Dim consumerName As String

instance.DeleteConsumer(consumerName)
public void DeleteConsumer(
    string consumerName
)

Parameters

  • consumerName
    Type: System.String

    The name of the Search scope consumer to be removed.

Implements

ISearchSiteAdministrationServiceApplication.DeleteConsumer(String)

Exceptions

Exception Condition
Exception

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

Remarks

The consumerName parameter must not be null .

See also

Reference

SearchServiceApplicationProxy class

SearchServiceApplicationProxy members

Microsoft.Office.Server.Search.Administration namespace