Partager via


ManagedProperty.ContainsAlias, méthode (Microsoft.Office.Server.Search.Administration)

Returns a Boolean value that indicates whether the managed property contains the specified alias.

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

Syntaxe

'Déclaration
Public Function ContainsAlias ( _
    aliasName As String _
) As Boolean
'Utilisation
Dim instance As ManagedProperty
Dim aliasName As String
Dim returnValue As Boolean

returnValue = instance.ContainsAlias(aliasName)
public bool ContainsAlias (
    string aliasName
)

Paramètres

  • aliasName
    A string that contains the alias.

Valeur de retour

true if the managed property contains the alias; otherwise, false.

Voir aussi

Référence

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