ContentSourceCollection.Exists Method (Int32)
Returns a Boolean value that indicates whether the specified content source exists in the collection.
Namespace: Microsoft.Office.Server.Search.Administration
Assembly: Microsoft.Office.Server.Search (in Microsoft.Office.Server.Search.dll)
Syntax
'Declaration
Public Function Exists ( _
id As Integer _
) As Boolean
'Usage
Dim instance As ContentSourceCollection
Dim id As Integer
Dim returnValue As Boolean
returnValue = instance.Exists(id)
public bool Exists(
int id
)
Parameters
id
Type: System.Int32A 32-bit integer that specifies the content source identifier.
Return Value
Type: System.Boolean
true if the content source exists; otherwise, false.