ManagedProperty.AddAlias method

Adds an alias to this managed property.

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

public void AddAlias(
	string aliasName
)

Parameters

aliasName
Type: System.String

A string that contains the alias name.

ExceptionCondition
UnauthorizedAccessException

If the schema owner does not have the required privileges.

InvalidOperationException

If this object is not backed.

InvalidManagedPropertyValue

If the new alias is [null] or has an invalid value.

DatabaseException

If there was an error querying the database.

CouldNotModifySchemaException

If the schema could not be added.

Show: