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 one managed property.
Namespace: Microsoft.Office.Server.Search.Administration
Assembly: Microsoft.Office.Server.Search (in Microsoft.Office.Server.Search.dll)
Syntax
'Declaration
<OperationContractAttribute> _
<FaultContractAttribute(GetType(SearchServiceApplicationFault))> _
Function GetManagedProperty ( _
managedPropertyName As String, _
owner As SearchObjectOwner _
) As ManagedPropertyInfo
'Usage
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
)
Parameters
managedPropertyName
Type: System.StringThe name of the managed property to retrieve
owner
Type: Microsoft.Office.Server.Search.Administration.SearchObjectOwnerRepresents the Sharepoint hierarchy in which the managed property is contained.
Return value
Type: Microsoft.Office.Server.Search.Administration.ManagedPropertyInfo
A ManagedPropertyInfo object.