AutoPropLimit Property

This property specifies the number of documents to crawl before propagating.

Syntax

IBuildCatalog.AutoPropLimit [=NumberOfDocuments]

Settings

NumberOfDocuments

The number of documents to cache before automatically propagating the catalog.

Remarks

Search ignores this property if the AutoPropLimitEnabled property is False.

Example

The following example sets the KMSampleCatalog1 catalog definition's AutoPropLimitEnabled property to True and AutoPropLimit property to 10000 documents.

Option Explicit 
On Error Resume Next

Dim objSearchAdmin, objBuildServer, objCatalogs, objCatalog 

Set objSearchAdmin = CreateObject("Search.SearchAdmin.1")
Set objBuildServer = objSearchAdmin.BuildServer
Set objCatalogs = objBuildServer.BuildCatalogs 
Set objCatalog  = objCatalogs("KMSampleCatalog1")

objCatalog.AutoPropLimitEnabled = True
objCatalog.AutoPropLimit        = 10000

'Release objects 
Set objCatalogs = Nothing 
Set objBuildServer = Nothing
Set objSearchAdmin = Nothing 
 

See Also

AutoPropLimitEnabled


© 1997-1998 Microsoft Corporation. All rights reserved.