CrawlRule.Priority Property

Gets the priority setting for the crawl rule.

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

Syntax

'Declaration
Public ReadOnly Property Priority As Integer
    Get
'Usage
Dim instance As CrawlRule
Dim value As Integer

value = instance.Priority
public int Priority { get; }

Property Value

Type: System.Int32
A 32-bit integer that specifies the priority setting.

Remarks

The priority setting is the order in which the crawl rules are executed by the Enterprise Search index engine.

To change the priority setting for a crawl rule, use the SetPriority() method of the CrawlRuleCollection class.

See Also

Reference

CrawlRule Class

CrawlRule Members

Microsoft.Office.Server.Search.Administration Namespace