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.
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
scopeId
Type: System.Int32The ID of the Scope object to delete.
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