TermSet.Contact Property

Gets and sets the contact for the current TermSet object.

Namespace:  Microsoft.SharePoint.Taxonomy
Assembly:  Microsoft.SharePoint.Taxonomy (in Microsoft.SharePoint.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.Taxonomy Namespace