ISchemaOperations.UpdateManagedProperty 方法

命名空间:  Microsoft.Office.Server.Search.Administration
程序集:  Microsoft.Office.Server.Search(位于 Microsoft.Office.Server.Search.dll 中)

语法

声明
<FaultContractAttribute(GetType(SearchServiceApplicationFault))> _
<OperationContractAttribute> _
Function UpdateManagedProperty ( _
    managedProperty As ManagedPropertyInfo, _
    owner As SearchObjectOwner _
) As ManagedPropertyInfo
用法
Dim instance As ISchemaOperations
Dim managedProperty As ManagedPropertyInfo
Dim owner As SearchObjectOwner
Dim returnValue As ManagedPropertyInfo

returnValue = instance.UpdateManagedProperty(managedProperty, _
    owner)
[FaultContractAttribute(typeof(SearchServiceApplicationFault))]
[OperationContractAttribute]
ManagedPropertyInfo UpdateManagedProperty(
    ManagedPropertyInfo managedProperty,
    SearchObjectOwner owner
)

参数

返回值

类型:Microsoft.Office.Server.Search.Administration.ManagedPropertyInfo
更新托管的属性。

备注

将不更新的映射和托管属性的别名。为了更新这些,您需要使用SetManagedPropertyMappings(ManagedPropertyInfo, IEnumerable<MappingInfo>, SearchObjectOwner)SetManagedPropertyAliases(ManagedPropertyInfo, [], SearchObjectOwner)

另请参阅

引用

ISchemaOperations 接口

ISchemaOperations 成员

Microsoft.Office.Server.Search.Administration 命名空间