다음을 통해 공유


ChoiceList.GetAllTerms Method

NOTE: This API is now obsolete.

Gets all vocabulary terms in this choice list. Optionally refreshes the list from the user profile store.

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.")> _
Public Function GetAllTerms ( _
    refresh As Boolean _
) As String()
'Usage
Dim instance As ChoiceList
Dim refresh As Boolean
Dim returnValue As String()

returnValue = instance.GetAllTerms(refresh)
[ObsoleteAttribute("Use CoreProperty TermSet to load the taxonomy for a Profile property.")]
public string[] GetAllTerms(
    bool refresh
)

Parameters

  • refresh
    Type: System.Boolean

    Indicates whether the items should be refreshed from the user profile store.

Return Value

Type: []
An array of all vocabulary terms in this choice list.

See Also

Reference

ChoiceList Class

ChoiceList Members

Microsoft.Office.Server.UserProfiles Namespace