Term.DeleteAllCustomProperties method
Deletes all shared custom properties.
Namespace: Microsoft.SharePoint.Taxonomy
Assembly: Microsoft.SharePoint.Taxonomy (in Microsoft.SharePoint.Taxonomy.dll)
Syntax
'Declaration
Public Overrides Sub DeleteAllCustomProperties
'Usage
Dim instance As Term
instance.DeleteAllCustomProperties()
public override void DeleteAllCustomProperties()
Exceptions
Exception | Condition |
---|---|
TermStoreOperationException | The term cannot be pinned. |
UnauthorizedAccessException | If this term is a reused term, the user must have the EditTerm permission to edit the source term as well to perform this operation. |