다음을 통해 공유


TermSet.IsOpenForTermCreation Property

Indicates whether the TermSet can be updated by all users, or alternatively just by the specified constributors for the Group object.

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

Syntax

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

value = instance.IsOpenForTermCreation

instance.IsOpenForTermCreation = value
public bool IsOpenForTermCreation { 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

A true value indicates that all users can add terms to the current TermSet. A value of false indicates that only contributors assigned to the Group can add terms to the current TermSet. The current user must have TaxonomyRights.Edit permission to set this property. Call the CommitAll() to save this change to the database.

See Also

Reference

TermSet Class

TermSet Members

Microsoft.SharePoint.Taxonomy Namespace