Partager via


ContentSourceCollection.Exists, méthode (Int32) (Microsoft.Office.Server.Search.Administration)

Returns a Boolean value that indicates whether the specified content source exists in the collection.

Espace de noms : Microsoft.Office.Server.Search.Administration
Assembly : Microsoft.Office.Server.Search (dans microsoft.office.server.search.dll)

Syntaxe

'Déclaration
Public Function Exists ( _
    id As Integer _
) As Boolean
'Utilisation
Dim instance As ContentSourceCollection
Dim id As Integer
Dim returnValue As Boolean

returnValue = instance.Exists(id)
public bool Exists (
    int id
)

Paramètres

  • id
    A 32-bit integer that specifies the content source ID.

Valeur de retour

true if the content source exists; otherwise, false.

Voir aussi

Référence

ContentSourceCollection, classe
Membres ContentSourceCollection
Microsoft.Office.Server.Search.Administration, espace de noms