Term.Delete Term.Delete Term.Delete Method


Deletes this Term object and its descendents from the TermStore object.

 override void Delete();
[Microsoft.SharePoint.Client.ClientCallable(ClientLibraryTargets=Microsoft.SharePoint.Client.ClientLibraryTargets.NonRESTful, Name="DeleteObject")]
public override void Delete ();
Public Overrides Sub Delete ()

The current user has insufficient permissions to perform this operation.

This operation is invalid in the orphaned terms TermSet.The operation failed.


Deleting a source Term when it is still reused elsewhere will move the source term to the orphaned TermSet object, and the Term becomes an orphan. Orphan terms cannot be deleted directly. When all reused term objects are deleted, the orphan is automatically deleted.

Use of this method requires TaxonomyRights.EditTerm permissions. Call the CommitAll() method to save this change to the database.

Applies to