ISchemaOperations.GetManagedProperties method (String, Int32, SearchObjectOwner)
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 := "GetManagedPropertiesWithParameters")> _
Function GetManagedProperties ( _
filterTerm As String, _
includeMappedCrawledPropertiesNum As Integer, _
owner As SearchObjectOwner _
) As ManagedPropertyInfoCollection
'Usage
Dim instance As ISchemaOperations
Dim filterTerm As String
Dim includeMappedCrawledPropertiesNum As Integer
Dim owner As SearchObjectOwner
Dim returnValue As ManagedPropertyInfoCollection
returnValue = instance.GetManagedProperties(filterTerm, _
includeMappedCrawledPropertiesNum, _
owner)
[FaultContractAttribute(typeof(SearchServiceApplicationFault))]
[OperationContractAttribute(Name = "GetManagedPropertiesWithParameters")]
ManagedPropertyInfoCollection GetManagedProperties(
string filterTerm,
int includeMappedCrawledPropertiesNum,
SearchObjectOwner owner
)
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.
Return value
Type: Microsoft.Office.Server.Search.Administration.ManagedPropertyInfoCollection
ManagedPropertyInfoCollection : A collection of ManagedPropertyInfo objects found during the search.