ISchemaOperations.GetManagedProperties 方法 (String, Int32, SearchObjectOwner, Boolean)

获取匹配的筛选器字符串的所有托管的属性。

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

语法

声明
<FaultContractAttribute(GetType(SearchServiceApplicationFault))> _
<OperationContractAttribute(Name := "GetManagedPropertiesWithParametersAll")> _
Function GetManagedProperties ( _
    filterTerm As String, _
    includeMappedCrawledPropertiesNum As Integer, _
    owner As SearchObjectOwner, _
    useFilterOnAliases As Boolean _
) As ManagedPropertyInfoCollection
用法
Dim instance As ISchemaOperations
Dim filterTerm As String
Dim includeMappedCrawledPropertiesNum As Integer
Dim owner As SearchObjectOwner
Dim useFilterOnAliases As Boolean
Dim returnValue As ManagedPropertyInfoCollection

returnValue = instance.GetManagedProperties(filterTerm, _
    includeMappedCrawledPropertiesNum, _
    owner, useFilterOnAliases)
[FaultContractAttribute(typeof(SearchServiceApplicationFault))]
[OperationContractAttribute(Name = "GetManagedPropertiesWithParametersAll")]
ManagedPropertyInfoCollection GetManagedProperties(
    string filterTerm,
    int includeMappedCrawledPropertiesNum,
    SearchObjectOwner owner,
    bool useFilterOnAliases
)

参数

  • filterTerm
    类型:System.String

    返回匹配的filterTerm作为子字符串仅托管的属性。忽略大小写。使用**[null]**返回所有属性。

  • includeMappedCrawledPropertiesNum
    类型:System.Int32

    要包含的每个托管属性的映射已爬网属性的数目。

  • useFilterOnAliases
    类型:System.Boolean

    如果**[true]**,返回 filterTerm,与托管属性的别名相匹配的托管的属性。

返回值

类型:Microsoft.Office.Server.Search.Administration.ManagedPropertyInfoCollection
ManagedPropertyInfoCollectionManagedPropertyInfo对象的集合,

另请参阅

引用

ISchemaOperations 接口

ISchemaOperations 成员

GetManagedProperties 重载

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