Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Get all managed properties matching a filter string.
Namespace: Microsoft.Office.Server.Search.Administration
Assembly: Microsoft.Office.Server.Search (in Microsoft.Office.Server.Search.dll)
Syntax
'Declaration
<FaultContractAttribute(GetType(SearchServiceApplicationFault))> _
<OperationContractAttribute(Name := "GetManagedPropertiesWithParametersAll")> _
Function GetManagedProperties ( _
filterTerm As String, _
includeMappedCrawledPropertiesNum As Integer, _
owner As SearchObjectOwner, _
useFilterOnAliases As Boolean _
) As ManagedPropertyInfoCollection
'Usage
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
)
Parameters
filterTerm
Type: System.StringOnly managed properties matching filterTerm as a substring are returned. Case is ignored. Use [null] to return all properties.
includeMappedCrawledPropertiesNum
Type: System.Int32The number of mapped crawled properties to include for each managed property.
owner
Type: Microsoft.Office.Server.Search.Administration.SearchObjectOwnerRepresents the Sharepoint hierarchy in which the managed properties are contained.
useFilterOnAliases
Type: System.BooleanIf [true], return the managed properties where filterTerm matches with the aliases of a managed property.
Return value
Type: Microsoft.Office.Server.Search.Administration.ManagedPropertyInfoCollection
ManagedPropertyInfoCollection : A collection of ManagedPropertyInfo objects