Share via


TermSet.IsAvailableForTagging property

Gets or sets whether the TermSet object should appear in the tagging user interface.

Namespace:  Microsoft.SharePoint.Taxonomy
Assembly:  Microsoft.SharePoint.Taxonomy (in Microsoft.SharePoint.Taxonomy.dll)

Syntax

'Declaration
Public Overrides Property IsAvailableForTagging As Boolean
    Get
    Set
'Usage
Dim instance As TermSet
Dim value As Boolean

value = instance.IsAvailableForTagging

instance.IsAvailableForTagging = value
public override bool IsAvailableForTagging { get; set; }

Property value

Type: System.Boolean
Returns Boolean.

Exceptions

Exception Condition
UnauthorizedAccessException

The current user has insufficient permissions to perform this operation.

TermStoreOperationException

Modifying tagging related properties of the Orphaned terms TermSet is disallowed.

TermStoreOperationException

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

Remarks

This property cannot be set in the Orphaned terms TermSet. The current user must have TaxonomyRights.Edit permission to set this property. Call the CommitAll() method to save this change to the database.

See also

Reference

TermSet class

TermSet members

Microsoft.SharePoint.Taxonomy namespace