Partilhar via


SearchServiceApplication.GetDisplayGroupsCount Method

Retrieves the total number of SearchScopeDisplayGroup objects.

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 SearchServiceApplication
Dim returnValue As Integer

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

Return Value

Type: System.Int32
The total number of SearchScopeDisplayGroup objects.

Implements

ISearchSiteAdministrationServiceApplication.GetDisplayGroupsCount()

Remarks

This method retrieves the total number of SearchScopeDisplayGroup objects.

See Also

Reference

SearchServiceApplication Class

SearchServiceApplication Members

Microsoft.Office.Server.Search.Administration Namespace