ISearchSiteAdministrationServiceApplication.DropRule method

Deletes the specified Search scope display group from the database.

Namespace:  Microsoft.Office.Server.Search.Administration
Assembly:  Microsoft.Office.Server.Search (in Microsoft.Office.Server.Search.dll)

Syntax

'Declaration
<OperationContractAttribute> _
Sub DropRule ( _
    ruleId As Integer _
)
'Usage
Dim instance As ISearchSiteAdministrationServiceApplication
Dim ruleId As Integer

instance.DropRule(ruleId)
[OperationContractAttribute]
void DropRule(
    int ruleId
)

Parameters

  • ruleId
    Type: System.Int32

    The ID of the rule to be deleted.

Remarks

Implementing classes should ensure that the value of the ruleId parameter must not be null .

See also

Reference

ISearchSiteAdministrationServiceApplication interface

ISearchSiteAdministrationServiceApplication members

Microsoft.Office.Server.Search.Administration namespace