SearchServiceApplicationProxy.DropRule Method
Deletes the specified Search scope rule 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 DropRule ( _
ruleId As Integer _
)
'Usage
Dim instance As SearchServiceApplicationProxy
Dim ruleId As Integer
instance.DropRule(ruleId)
public void DropRule(
int ruleId
)
Parameters
ruleId
Type: System.Int32The ID of the Search ScopeRule object to be deleted.
Implements
ISearchSiteAdministrationServiceApplication.DropRule(Int32)
Exceptions
Exception | Condition |
---|---|
Exception | An error, such as a SearchServiceApplicationFault, occurred during application execution. |
Remarks
The value of the ruleId parameter must not be null .
See Also
Reference
SearchServiceApplicationProxy Class