Share via


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)

Syntax

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

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

Parameters

  • 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

Reference

ManagedProperty Class

ManagedProperty Members

Microsoft.Office.Server.Search.Administration Namespace