Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
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