ChoiceList.Rename method
NOTE: This API is now obsolete.
Renames a vocabulary item with the new name.
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 Sub Rename ( _
oldTerm As String, _
newTerm As String _
)
'Usage
Dim instance As ChoiceList
Dim oldTerm As String
Dim newTerm As String
instance.Rename(oldTerm, newTerm)
[ObsoleteAttribute("Use CoreProperty TermSet to load the taxonomy for a Profile property.")]
public void Rename(
string oldTerm,
string newTerm
)
Parameters
oldTerm
Type: System.StringThe vocabulary item to rename.
newTerm
Type: System.StringThe new name for the vocabulary item.