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