Class SearchRuleInfo
Contains information about a search rule in a search catalog.
Implements
Namespace: Mawosoft.PowerShell.WindowsSearchManager
Assembly: Mawosoft.PowerShell.WindowsSearchManager.dll
Syntax
public sealed class SearchRuleInfo : ICloneable
Constructors
SearchRuleInfo()
Initializes a new instance of the SearchRuleInfo class.
Declaration
public SearchRuleInfo()
Properties
FollowFlags
Declaration
public SearchRuleInfo._FOLLOW_FLAGS FollowFlags { get; set; }
Property Value
Type | Description |
---|---|
SearchRuleInfo._FOLLOW_FLAGS | A combination of enumeration values to indicate whether to follow complex URLs and whether a URL is to be indexed or just followed. |
Path
Declaration
public string? Path { get; set; }
Property Value
Type | Description |
---|---|
string | The URL, path, or pattern of this search rule. |
RuleSet
Declaration
public SearchRuleInfo.SearchRuleSet RuleSet { get; set; }
Property Value
Type | Description |
---|---|
SearchRuleInfo.SearchRuleSet | One of the enumeration values indicating whether this is a user scope or default scope rule. |
RuleType
Declaration
public SearchRuleInfo.SearchRuleType RuleType { get; set; }
Property Value
Type | Description |
---|---|
SearchRuleInfo.SearchRuleType | One of the enumeration values indicating whether this is an inclusion or exclusion rule. |
Methods
Clone()
Creates a shallow copy of the SearchRuleInfo instance.
Declaration
public object Clone()
Returns
Type | Description |
---|---|
object | A shallow copy of the SearchRuleInfo instance. |