ISearchSiteAdministrationServiceApplication.GetScopesCount method
Retrieves the total number of Search scopes that are defined in the database.
Namespace: Microsoft.Office.Server.Search.Administration
Assembly: Microsoft.Office.Server.Search (in Microsoft.Office.Server.Search.dll)
Syntax
'Declaration
<OperationContractAttribute> _
Function GetScopesCount As Integer
'Usage
Dim instance As ISearchSiteAdministrationServiceApplication
Dim returnValue As Integer
returnValue = instance.GetScopesCount()
[OperationContractAttribute]
int GetScopesCount()
Return value
Type: System.Int32
The number of all SearchScopes objects.
Remarks
This method retrieves the total number of Search scopes in the database.
See also
Reference
ISearchSiteAdministrationServiceApplication interface