Partager via


WebContentSource.MaxSiteEnumerationDepth Property

Gets or sets the number of site hops the crawler can take from the start address to a content item.

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

Syntax

'Declaration
Public Property MaxSiteEnumerationDepth As Integer
    Get
    Set
'Usage
Dim instance As WebContentSource
Dim value As Integer

value = instance.MaxSiteEnumerationDepth

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

Property Value

Type: System.Int32
A 32-bit integer that specifies the maximum number of site hops.

Remarks

To configure an unlimited number of site hops, set this value to -1.

See Also

Reference

WebContentSource Class

WebContentSource Members

Microsoft.Office.Server.Search.Administration Namespace