SearchServiceApplication.DropScope method
Deletes the specified Scope from the SearchAdminDatabase.
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 SearchServiceApplication
Dim scopeId As Integer
instance.DropScope(scopeId)
public void DropScope(
int scopeId
)
Parameters
scopeId
Type: System.Int32The ID of the Scope to delete.
Implements
ISearchSiteAdministrationServiceApplication.DropScope(Int32)
Remarks
The value of scopeId must not be null .
See also
Reference
SearchServiceApplication class