Partager via


CustomContentSource.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 CustomContentSource
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 Int32.MaxValue.

See Also

Reference

CustomContentSource Class

CustomContentSource Members

Microsoft.Office.Server.Search.Administration Namespace