Compartir a través de


Schema.IsMappable Method

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
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)
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