Mapping Constructor
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
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)
public Mapping(
Guid crawledPropset,
string crawledPropertyName,
int crawledPropertyVariantType,
int managedPid
)
Parameters
- crawledPropset
Type: System.Guid
A GUID that identifies the property set for the crawled property.
- crawledPropertyName
Type: System.String
A string that specifies the crawled property name.
- crawledPropertyVariantType
Type: System.Int32
A 32-bit integer that specifies the variant data type for the crawled property.
- managedPid
Type: System.Int32
A 32-bit integer that identifies the managed property.