다음을 통해 공유


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

ISearchSiteAdministrationServiceApplication Members

Microsoft.Office.Server.Search.Administration Namespace