ISchemaOperations.SetManagedPropertyAliases 方法
设置托管属性的别名。
命名空间: Microsoft.Office.Server.Search.Administration
程序集: Microsoft.Office.Server.Search(位于 Microsoft.Office.Server.Search.dll 中)
语法
声明
<OperationContractAttribute> _
<FaultContractAttribute(GetType(SearchServiceApplicationFault))> _
Sub SetManagedPropertyAliases ( _
managedProperty As ManagedPropertyInfo, _
aliases As String(), _
owner As SearchObjectOwner _
)
用法
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
)
参数
managedProperty
类型:Microsoft.Office.Server.Search.Administration.ManagedPropertyInfo新的托管属性的名称
aliases
类型:[]新的给定托管属性的别名集。
owner
类型:Microsoft.Office.Server.Search.Administration.SearchObjectOwner表示 Sharepoint 层次结构中包含的托管的属性。