Share via


SearchServiceApplicationProxy.DropScope Method

Deletes the specified Search scope from the Search administration database.

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

Syntax

'Declaration
Public Sub DropScope ( _
    scopeId As Integer _
)
'Usage
Dim instance As SearchServiceApplicationProxy
Dim scopeId As Integer

instance.DropScope(scopeId)
public void DropScope(
    int scopeId
)

Parameters

Implements

ISearchSiteAdministrationServiceApplication.DropScope(Int32)

Exceptions

Exception Condition
Exception

An error, such as a SearchServiceApplicationFault, occurred during application execution.

Remarks

The value of the scopeId parameter must not be null .

See Also

Reference

SearchServiceApplicationProxy Class

SearchServiceApplicationProxy Members

Microsoft.Office.Server.Search.Administration Namespace