Partilhar via


CrawlMappingCollection.Exists Method

Returns a Boolean value that indicates whether a crawl mapping exists in the collection, based on the specified source URI.

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

Syntax

'Declaration
Public Function Exists ( _
    source As Uri _
) As Boolean
'Usage
Dim instance As CrawlMappingCollection
Dim source As Uri
Dim returnValue As Boolean

returnValue = instance.Exists(source)
public bool Exists(
    Uri source
)

Parameters

  • source
    Type: System.Uri

    A System.Uri object that represents the source URI.

Return Value

Type: System.Boolean
true if the specified crawl mapping exists; otherwise, false.

See Also

Reference

CrawlMappingCollection Class

CrawlMappingCollection Members

Microsoft.Office.Server.Search.Administration Namespace