SearchServiceApplicationProxy.GetConsumers Method
Retrieves a list of the names of all Search scope consumers.
Namespace: Microsoft.Office.Server.Search.Administration
Assembly: Microsoft.Office.Server.Search (in Microsoft.Office.Server.Search.dll)
Syntax
'Declaration
Public Function GetConsumers As List(Of String)
'Usage
Dim instance As SearchServiceApplicationProxy
Dim returnValue As List(Of String)
returnValue = instance.GetConsumers()
public List<string> GetConsumers()
Return Value
Type: System.Collections.Generic.List<String>
A list of the names of all Search scope consumers.
Implements
ISearchSiteAdministrationServiceApplication.GetConsumers()
Exceptions
Exception | Condition |
---|---|
Exception | An error, such as a SearchServiceApplicationFault, occurred during application execution. |
Remarks
This method gets the list of the consumer names from the database.
See Also
Reference
SearchServiceApplicationProxy Class