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 SearchScopeRule from the SearchAdminDatabase.
Namespace: Microsoft.Office.Server.Search.Administration
Assembly: Microsoft.Office.Server.Search (in Microsoft.Office.Server.Search.dll)
Syntax
'Declaration
Public Sub DropRule ( _
ruleId As Integer _
)
'Usage
Dim instance As SearchServiceApplication
Dim ruleId As Integer
instance.DropRule(ruleId)
public void DropRule(
int ruleId
)
Parameters
ruleId
Type: System.Int32The ID of the SearchScopeRule to delete.
Implements
ISearchSiteAdministrationServiceApplication.DropRule(Int32)
Remarks
The value of the ruleId parameter must not be null .
See Also
Reference
SearchServiceApplication Class