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.UriA System.Uri object that represents the source URI.
Return value
Type: System.Boolean
true if the specified crawl mapping exists; otherwise, false.