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
)
参数
managedProperty
类型:Microsoft.Office.Server.Search.Administration.ManagedPropertyInfo要更新的托管的属性。
owner
类型:Microsoft.Office.Server.Search.Administration.SearchObjectOwner表示 Sharepoint 层次结构中包含的托管的属性。
返回值
类型:Microsoft.Office.Server.Search.Administration.ManagedPropertyInfo
更新托管的属性。
备注
将不更新的映射和托管属性的别名。为了更新这些,您需要使用SetManagedPropertyMappings(ManagedPropertyInfo, IEnumerable<MappingInfo>, SearchObjectOwner)和SetManagedPropertyAliases(ManagedPropertyInfo, [], SearchObjectOwner)。