ChoiceList Class
NOTE: This API is now obsolete.
Provides methods to search, remove, and rename vocabulary terms for user profile properties.
Inheritance Hierarchy
System.Object
Microsoft.Office.Server.UserProfiles.ChoiceList
Namespace: Microsoft.Office.Server.UserProfiles
Assembly: Microsoft.Office.Server.UserProfiles (in Microsoft.Office.Server.UserProfiles.dll)
Syntax
'Declaration
<ObsoleteAttribute("Use CoreProperty TermSet to load the taxonomy for a Profile property.")> _
<SharePointPermissionAttribute(SecurityAction.LinkDemand, ObjectModel := True)> _
<SharePointPermissionAttribute(SecurityAction.InheritanceDemand, ObjectModel := True)> _
Public Class ChoiceList
'Usage
Dim instance As ChoiceList
[ObsoleteAttribute("Use CoreProperty TermSet to load the taxonomy for a Profile property.")]
[SharePointPermissionAttribute(SecurityAction.LinkDemand, ObjectModel = true)]
[SharePointPermissionAttribute(SecurityAction.InheritanceDemand, ObjectModel = true)]
public class ChoiceList
Remarks
After you define a user profile property with a choice list, you cannot redefine it so it does not have the list, nor can you add a list to a property that is not defined with one.
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.