Share via


TermSet.Contact property

Gets and sets the contact for the current TermSet object.

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

Syntax

'Declaration
Public Property Contact As String
    Get
    Set
'Usage
Dim instance As TermSet
Dim value As String

value = instance.Contact

instance.Contact = value
public string Contact { get; set; }

Property value

Type: System.String
A string representing the TermSet contact.

Exceptions

Exception Condition
TermStoreOperationException

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

UnauthorizedAccessException

The current user has insufficient permissions to perform this operation.

Remarks

It is recommended that the Contact value be an e-mail address for a user who can be contacted for term suggestions and feedback. Contact cannot be set on 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.Client.Taxonomy namespace