Partager via


ISearchSiteAdministrationServiceApplication.DeleteConsumer Method

Deletes the specified Search scope consumer from the database.

Namespace:  Microsoft.Office.Server.Search.Administration
Assembly:  Microsoft.Office.Server.Search (in Microsoft.Office.Server.Search.dll)

Syntax

'Declaration
<OperationContractAttribute> _
Sub DeleteConsumer ( _
    consumerName As String _
)
'Usage
Dim instance As ISearchSiteAdministrationServiceApplication
Dim consumerName As String

instance.DeleteConsumer(consumerName)
[OperationContractAttribute]
void DeleteConsumer(
    string consumerName
)

Parameters

  • consumerName
    Type: System.String

    The name of the Search scope consumer.

Remarks

Implementing classes should ensure that the consumerName parameter must not be null .

See Also

Reference

ISearchSiteAdministrationServiceApplication Interface

ISearchSiteAdministrationServiceApplication Members

Microsoft.Office.Server.Search.Administration Namespace