ManagedProperty.ContainsAlias method

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

Namespace:  Microsoft.Office.Server.Search.Administration
Assembly:  Microsoft.Office.Server.Search (in Microsoft.Office.Server.Search.dll)


Public Function ContainsAlias ( _
    aliasName As String _
) As Boolean
Dim instance As ManagedProperty
Dim aliasName As String
Dim returnValue As Boolean

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


  • aliasName
    Type: System.String

    A string that contains the alias.

Return value

Type: System.Boolean
true if the managed property contains the alias; otherwise, false.

See also


ManagedProperty class

ManagedProperty members

Microsoft.Office.Server.Search.Administration namespace