TermStore.GetSiteCollectionGroup method (SPSite)

Returns associated site collection group for the SPSite object.

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

Syntax

'Declaration
Public Function GetSiteCollectionGroup ( _
    currentSite As SPSite _
) As Group
'Usage
Dim instance As TermStore
Dim currentSite As SPSite
Dim returnValue As Group

returnValue = instance.GetSiteCollectionGroup(currentSite)
public Group GetSiteCollectionGroup(
    SPSite currentSite
)

Parameters

Return value

Type: Microsoft.SharePoint.Taxonomy.Group
The group related to the specified site collection.

Remarks

If the associated site collection group for the SPSite object has not been created, then the GetSiteCollectionGroup(SPSite) method will create it.

See also

Reference

TermStore class

TermStore members

GetSiteCollectionGroup overload

Microsoft.SharePoint.Taxonomy namespace