Share via


TermStore.Groups property

Gets a collection of the child Group objects of this TermStore object

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

Syntax

'Declaration
Public ReadOnly Property Groups As TermGroupCollection
    Get
'Usage
Dim instance As TermStore
Dim value As TermGroupCollection

value = instance.Groups
public TermGroupCollection Groups { get; }

Property value

Type: Microsoft.SharePoint.Client.Taxonomy.TermGroupCollection
A collection of the child Group objects of this TermStore

Remarks

If the current user is a farm or tenant admin then all Group objects will be returned, including site collection groups. Otherwise, all global groups will be returned, and only the site collection group for the current site will be returned if it exists.

See also

Reference

TermStore class

TermStore members

Microsoft.SharePoint.Client.Taxonomy namespace