Partager 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