Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
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.StringThe 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