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.StringA string that contains the alias.
Return value
Type: System.Boolean
true if the managed property contains the alias; otherwise, false.