Partager via


LocationConfigurationCollection.Contains, méthode (String) (Microsoft.Office.Server.Search.Administration)

Determines whether a LocationConfiguration object with the specified internal name or display name is 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 Contains ( _
    name As String _
) As Boolean
'Utilisation
Dim instance As LocationConfigurationCollection
Dim name As String
Dim returnValue As Boolean

returnValue = instance.Contains(name)
public bool Contains (
    string name
)

Paramètres

  • name
    A string that specifies an internal or display name.

Voir aussi

Référence

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