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.
Gets the count of all visible 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
Public Function GetVisibleScopesCount As Integer
'Usage
Dim instance As SearchServiceApplicationProxy
Dim returnValue As Integer
returnValue = instance.GetVisibleScopesCount()
public int GetVisibleScopesCount()
Return Value
Type: System.Int32
The count of all visible Search scopes.
Implements
ISearchSiteAdministrationServiceApplication.GetVisibleScopesCount()
Exceptions
| Exception | Condition |
|---|---|
| Exception | An error occurred during application execution. |
Remarks
This method throws an exception if the user does not have administrative permissions to the Search application.
See Also
Reference
SearchServiceApplicationProxy Class