다음을 통해 공유


ISearchSiteAdministrationServiceApplication.GetVisibleScopesCount Method

Retrieves the total number of visible Search scopes defined in the Search application.

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

Syntax

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

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

Return Value

Type: System.Int32
The total number of visible Scope objects.

Remarks

This method retrieves the total number of visible Search scopes defined in the Search application.

See Also

Reference

ISearchSiteAdministrationServiceApplication Interface

ISearchSiteAdministrationServiceApplication Members

Microsoft.Office.Server.Search.Administration Namespace