TermSet.DeleteAllCustomProperties method
Deletes all custom properties from the TermSet.
Namespace: Microsoft.SharePoint.Taxonomy
Assembly: Microsoft.SharePoint.Taxonomy (in Microsoft.SharePoint.Taxonomy.dll)
Syntax
'Declaration
Public Overrides Sub DeleteAllCustomProperties
'Usage
Dim instance As TermSet
instance.DeleteAllCustomProperties()
public override void DeleteAllCustomProperties()
Exceptions
Exception | Condition |
---|---|
UnauthorizedAccessException | The current user has insufficient permissions to perform this operation. The current user must have EditTermSet permission. |
Remarks
CommitAll must be called in order to save this change to the database.