PropertyMapCollection.VerifyMapping Method

Returns a list of invalid mappings.

Namespace:  Microsoft.Office.Server.UserProfiles
Assembly:  Microsoft.Office.Server (in Microsoft.Office.Server.dll)


Public Function VerifyMapping ( _
    fRemoveMapping As Boolean _
) As ArrayList
Dim instance As PropertyMapCollection
Dim fRemoveMapping As Boolean
Dim returnValue As ArrayList

returnValue = instance.VerifyMapping(fRemoveMapping)
public ArrayList VerifyMapping(
    bool fRemoveMapping


  • fRemoveMapping
    Type: System.Boolean
    true if invalid properties are deleted from the collection; otherwise, false.

Return Value

Type: System.Collections.ArrayList
System.Collections.ArrayList. An array list of type System.Collections.ArrayList that contains a list of PropertyMap objects.


An invalid mapping occurs when a user profile property is mapped to a nonexisting Microsoft Active Directory directory service property. An Active Directory property must be a user-type property. If the server is connected to multiple Active Directory directory services, and a user profile property exists on at least one Active Directory directory service, the mapping is valid.

See Also


PropertyMapCollection Class

PropertyMapCollection Members

Microsoft.Office.Server.UserProfiles Namespace