Schema.IsMappable method

NOTE: This API is now obsolete.

Gets a Boolean value indicating whether crawled properties with the specified data type can be mapped to managed properties with the specified managed data type.

Namespace:  Microsoft.Office.Server.Search.Administration
Assembly:  Microsoft.Office.Server.Search (in Microsoft.Office.Server.Search.dll)

Syntax

'Declaration
<ObsoleteAttribute("VariantType is no longer supported. Use IsMappable(ManagedDataType) instead.")> _
Public Shared Function IsMappable ( _
    managedDataType As ManagedDataType, _
    varType As Integer _
) As Boolean
'Usage
Dim managedDataType As ManagedDataType
Dim varType As Integer
Dim returnValue As Boolean

returnValue = Schema.IsMappable(managedDataType, _
    varType)
[ObsoleteAttribute("VariantType is no longer supported. Use IsMappable(ManagedDataType) instead.")]
public static bool IsMappable(
    ManagedDataType managedDataType,
    int varType
)

Parameters

  • varType
    Type: System.Int32

    An integer value that represents a crawled property data type.

Return value

Type: System.Boolean
true if crawled properties with the specified data type can be mapped to managed properties with the specified managed type; otherwise, false.

See also

Reference

Schema class

Schema members

Microsoft.Office.Server.Search.Administration namespace