ISearchSiteAdministrationServiceApplication.GetRulesInfo Method
Retrieves a list of information about all of the scope rules defined within the specified Search scope.
Namespace: Microsoft.Office.Server.Search.Administration
Assembly: Microsoft.Office.Server.Search (in Microsoft.Office.Server.Search.dll)
Syntax
'Declaration
<OperationContractAttribute> _
Function GetRulesInfo ( _
scopeId As Integer, _
<OutAttribute> ByRef statusCode As Integer _
) As List(Of RuleInfo)
'Usage
Dim instance As ISearchSiteAdministrationServiceApplication
Dim scopeId As Integer
Dim statusCode As Integer
Dim returnValue As List(Of RuleInfo)
returnValue = instance.GetRulesInfo(scopeId, _
statusCode)
[OperationContractAttribute]
List<RuleInfo> GetRulesInfo(
int scopeId,
out int statusCode
)
Parameters
scopeId
Type: System.Int32The ID of the Scope object.
statusCode
Type: System.Int32The execution status.
Return Value
Type: System.Collections.Generic.List<RuleInfo>
The list of information about the scope rules.
Remarks
Implementing classes should ensure that the value of the scopeId parameter must not be null .
Implementing classes should set statusCode to 0 to indicate successful execution and 1 otherwise.
See Also
Reference
ISearchSiteAdministrationServiceApplication Interface