SearchServiceApplicationProxy.GetDisplayGroupsCount method

Retrieves the total number of Search scope display groups.

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

Syntax

'Declaration
Public Function GetDisplayGroupsCount As Integer
'Usage
Dim instance As SearchServiceApplicationProxy
Dim returnValue As Integer

returnValue = instance.GetDisplayGroupsCount()
public int GetDisplayGroupsCount()

Return value

Type: System.Int32
The total number of Search ScopeDisplayGroup objects.

Implements

ISearchSiteAdministrationServiceApplication.GetDisplayGroupsCount()

Exceptions

Exception Condition
Exception

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

Remarks

This method gets the total number of the Search scope display groups from the database.

See also

Reference

SearchServiceApplicationProxy class

SearchServiceApplicationProxy members

Microsoft.Office.Server.Search.Administration namespace