TermStore.GetSiteCollectionGroup method
Returns the associated site collection group for the SPSite.
Namespace: Microsoft.SharePoint.Client.Taxonomy
Assembly: Microsoft.SharePoint.Client.Taxonomy (in Microsoft.SharePoint.Client.Taxonomy.dll)
Syntax
'Declaration
Public Function GetSiteCollectionGroup ( _
currentSite As Site, _
createIfMissing As Boolean _
) As TermGroup
'Usage
Dim instance As TermStore
Dim currentSite As Site
Dim createIfMissing As Boolean
Dim returnValue As TermGroup
returnValue = instance.GetSiteCollectionGroup(currentSite, _
createIfMissing)
public TermGroup GetSiteCollectionGroup(
Site currentSite,
bool createIfMissing
)
Parameters
currentSite
Type: Microsoft.SharePoint.Client.SiteThe site collection containing the TermGroup object to retrieve
createIfMissing
Type: System.BooleanIndicates whether to create a new TermGroup object if one does not exist yet for the specified site collection.
Return value
Type: Microsoft.SharePoint.Client.Taxonomy.TermGroup