ISchemaOperations.GetManagedProperty 方法
获取一个托管的属性。
命名空间: Microsoft.Office.Server.Search.Administration
程序集: Microsoft.Office.Server.Search(位于 Microsoft.Office.Server.Search.dll 中)
语法
声明
<OperationContractAttribute> _
<FaultContractAttribute(GetType(SearchServiceApplicationFault))> _
Function GetManagedProperty ( _
managedPropertyName As String, _
owner As SearchObjectOwner _
) As ManagedPropertyInfo
用法
Dim instance As ISchemaOperations
Dim managedPropertyName As String
Dim owner As SearchObjectOwner
Dim returnValue As ManagedPropertyInfo
returnValue = instance.GetManagedProperty(managedPropertyName, _
owner)
[OperationContractAttribute]
[FaultContractAttribute(typeof(SearchServiceApplicationFault))]
ManagedPropertyInfo GetManagedProperty(
string managedPropertyName,
SearchObjectOwner owner
)
参数
managedPropertyName
类型:System.String要检索的托管属性的名称
owner
类型:Microsoft.Office.Server.Search.Administration.SearchObjectOwner表示 Sharepoint 层次结构中包含的托管的属性。
返回值
类型:Microsoft.Office.Server.Search.Administration.ManagedPropertyInfo
一个ManagedPropertyInfo对象。