Share via


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