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
- managedDataType
Type: Microsoft.Office.Server.Search.Administration.ManagedDataType
A ManagedDataType object that represents a managed property data type.
- 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.