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)


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

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


  • 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


CrawlMappingCollection Class

CrawlMappingCollection Members

Microsoft.Office.Server.Search.Administration Namespace