ISchemaOperations.SetManagedPropertyAliases method
Set the aliases for a managed property.
Namespace: Microsoft.Office.Server.Search.Administration
Assembly: Microsoft.Office.Server.Search (in Microsoft.Office.Server.Search.dll)
Syntax
'Declaration
<OperationContractAttribute> _
<FaultContractAttribute(GetType(SearchServiceApplicationFault))> _
Sub SetManagedPropertyAliases ( _
managedProperty As ManagedPropertyInfo, _
aliases As String(), _
owner As SearchObjectOwner _
)
'Usage
Dim instance As ISchemaOperations
Dim managedProperty As ManagedPropertyInfo
Dim aliases As String()
Dim owner As SearchObjectOwner
instance.SetManagedPropertyAliases(managedProperty, _
aliases, owner)
[OperationContractAttribute]
[FaultContractAttribute(typeof(SearchServiceApplicationFault))]
void SetManagedPropertyAliases(
ManagedPropertyInfo managedProperty,
string[] aliases,
SearchObjectOwner owner
)
Parameters
managedProperty
Type: Microsoft.Office.Server.Search.Administration.ManagedPropertyInfoThe name of the new managed property
aliases
Type: []The new set of aliases for the given managed property.
owner
Type: Microsoft.Office.Server.Search.Administration.SearchObjectOwnerRepresents the Sharepoint hierarchy in which the managed property is contained.