Partilhar via


Term.IsAvailableForTagging Property

Gets or sets the flag indicating whether a Term object can be used to tag in the tagging UI, but does not affect its visibility.

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 Term
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

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

Remarks

The current user must have TaxonomyRights.EditTerm permission to set this property. Call the CommitAll() to save this change to the database.

See Also

Reference

Term Class

Term Members

Microsoft.SharePoint.Taxonomy Namespace