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 Property Priority As Integer
    Get
    Set
'Usage
Dim instance As CrawlRule
Dim value As Integer

value = instance.Priority

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

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 SharePoint Server 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