Partager via


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