TermSetItem.ReuseTermWithPinning(Term) TermSetItem.ReuseTermWithPinning(Term) TermSetItem.ReuseTermWithPinning(Term) Method

Definition

Creates a new Term below a TaxonomyItem instance based on a sourceTerm and makes the Term pinned so that only the local custom properties, IsAvailableForTagging, and custom sort order for the TermSet can be changed in the TermSet object.

public:
 Microsoft::SharePoint::Taxonomy::Term ^ ReuseTermWithPinning(Microsoft::SharePoint::Taxonomy::Term ^ sourceTerm);
[Microsoft.SharePoint.Client.ClientCallableMethod(ClientLibraryTargets=Microsoft.SharePoint.Client.ClientLibraryTargets.NonRESTful, ReturnObjectIdentity=true)]
public Microsoft.SharePoint.Taxonomy.Term ReuseTermWithPinning (Microsoft.SharePoint.Taxonomy.Term sourceTerm);
Public Function ReuseTermWithPinning (sourceTerm As Term) As Term
Parameters
sourceTerm
Term Term Term

The source term.

Returns

The reused term.

Exceptions

The current user has insufficient permissions to perform this operation. The user needs to have the EditTerm permission.

Remarks

This method cannot be called on an orphaned term set or hash tag term set.

Applies to