ChoiceList class
NOTE: This API is now obsolete.
Fornece métodos para procurar, remover e renomear termos de vocabulário para propriedades de perfil de usuário.
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
'Declaração
<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
'Uso
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
Comentários
Depois de definir uma propriedade de perfil de usuário com uma lista de opções, não é possível redefini-la para que ela não tem a lista, nem você pode adicionar uma lista para uma propriedade que não está definida com um.
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.