Share via


ISearchSiteAdministrationServiceApplication.GetDisplayGroupsCount method

Retrieves the total number of scope display groups managed by the ISearchSiteAdministrationServiceApplication.

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

Syntax

'Declaration
<OperationContractAttribute> _
Function GetDisplayGroupsCount As Integer
'Usage
Dim instance As ISearchSiteAdministrationServiceApplication
Dim returnValue As Integer

returnValue = instance.GetDisplayGroupsCount()
[OperationContractAttribute]
int GetDisplayGroupsCount()

Return value

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

Remarks

This method retrieves the total number of scope display groups.

See also

Reference

ISearchSiteAdministrationServiceApplication interface

ISearchSiteAdministrationServiceApplication members

Microsoft.Office.Server.Search.Administration namespace