Partager via


Mapping - Constructeur (Guid, String, Int32, Int32)

Remarque : cette API est désormais obsolète.

Initialise une nouvelle instance de la classe Mapping basée sur le nom de la propriété analysée spécifiée, type de données, du jeu de propriétés et l'identificateur de propriété gérée (PID).

Espace de noms :  Microsoft.Office.Server.Search.Administration
Assembly :  Microsoft.Office.Server.Search (dans Microsoft.Office.Server.Search.dll)

Syntaxe

'Déclaration
<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 _
)
'Utilisation
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
)

Paramètres

  • crawledPropset
    Type : System.Guid

    GUID qui identifie la propriété définie pour la propriété analysée.

  • crawledPropertyName
    Type : System.String

    Chaîne qui spécifie le nom de la propriété analysée.

  • crawledPropertyVariantType
    Type : System.Int32

    Un entier 32 bits qui indique le type de données variant pour la propriété analysée.

  • managedPid
    Type : System.Int32

    Entier 32 bits qui identifie la propriété gérée.

Voir aussi

Référence

Mapping classe

Mapping - Membres

Mapping - Surcharge

Microsoft.Office.Server.Search.Administration - Espace de noms