Export (0) Print
Expand All

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)

public Group GetSiteCollectionGroup(
	SPSite currentSite
)

Parameters

currentSite
Type: Microsoft.SharePoint.SPSite

The site collection containing the group to retrieve.

Return value

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

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

Community Additions

ADD
Show:
© 2014 Microsoft