SearchServiceApplication.GetVisibleScopesCount method

Gets the count of all visible Scope objects defined in the Search application.

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

Syntax

'Declaration
Public Function GetVisibleScopesCount As Integer
'Usage
Dim instance As SearchServiceApplication
Dim returnValue As Integer

returnValue = instance.GetVisibleScopesCount()
public int GetVisibleScopesCount()

Return value

Type: System.Int32
The count of all visible Scope objects.

Implements

ISearchSiteAdministrationServiceApplication.GetVisibleScopesCount()

Remarks

This method gets the count of all visible Scope objects.

See also

Reference

SearchServiceApplication class

SearchServiceApplication members

Microsoft.Office.Server.Search.Administration namespace