Share via


SearchServiceApplication.DropRule Method

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

Implements

ISearchSiteAdministrationServiceApplication.DropRule(Int32)

Remarks

The value of the ruleId parameter must not be null .

See Also

Reference

SearchServiceApplication Class

SearchServiceApplication Members

Microsoft.Office.Server.Search.Administration Namespace