SearchServiceApplicationProxy.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 SearchServiceApplicationProxy
Dim ruleId As Integer

instance.DropRule(ruleId)
public void DropRule(
    int ruleId
)

Parameters

Implements

ISearchSiteAdministrationServiceApplication.DropRule(Int32)

Exceptions

Exception Condition
Exception

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

Remarks

The value of ruleId must not be null .

See also

Reference

SearchServiceApplicationProxy class

SearchServiceApplicationProxy members

Microsoft.Office.Server.Search.Administration namespace