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