Mapping constructor (Guid, String, Int32, Int32)
NOTE: This API is now obsolete.
Initializes a new instance of the Mapping class based on the specified crawled property name, data type, property set, and managed property identifier (PID).
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 property setters instead.")> _
Public Sub New ( _
crawledPropset As Guid, _
crawledPropertyName As String, _
crawledPropertyVariantType As Integer, _
managedPid As Integer _
)
'Usage
Dim crawledPropset As Guid
Dim crawledPropertyName As String
Dim crawledPropertyVariantType As Integer
Dim managedPid As Integer
Dim instance As New Mapping(crawledPropset, _
crawledPropertyName, crawledPropertyVariantType, _
managedPid)
[ObsoleteAttribute("VariantType is no longer supported. Use property setters instead.")]
public Mapping(
Guid crawledPropset,
string crawledPropertyName,
int crawledPropertyVariantType,
int managedPid
)
Parameters
crawledPropset
Type: System.GuidA GUID that identifies the property set for the crawled property.
crawledPropertyName
Type: System.StringA string that specifies the crawled property name.
crawledPropertyVariantType
Type: System.Int32A 32-bit integer that specifies the variant data type for the crawled property.
managedPid
Type: System.Int32A 32-bit integer that identifies the managed property.