Partilhar via


TermSet.Stakeholders Property

Gets the collection of stakeholders for the current TermSet object.

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

Syntax

'Declaration
Public ReadOnly Property Stakeholders As ReadOnlyCollection(Of String)
    Get
'Usage
Dim instance As TermSet
Dim value As ReadOnlyCollection(Of String)

value = instance.Stakeholders
public ReadOnlyCollection<string> Stakeholders { get; }

Property Value

Type: System.Collections.ObjectModel.ReadOnlyCollection<String>
The collection of stakeholders for the current TermSet

Remarks

A stakeholder is a user who has an interest in the current TermSet. A TermSet can have 0 or more stakeholders.The collection may be empty.The returned collection is read-only. To add a stakeholder, use the AddStakeholder(String) method.To delete a stakeholder, use the DeleteStakeholder(String) method.

See Also

Reference

TermSet Class

TermSet Members

Microsoft.SharePoint.Taxonomy Namespace

AddStakeholder(String)

DeleteStakeholder(String)