TaxonomySession.DefaultSiteCollectionTermStore property

Gets the TermStore object to be used for metadata that are specific to the site collection, such as column-specific TermSet objects.

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

Syntax

'Declaration
Public ReadOnly Property DefaultSiteCollectionTermStore As TermStore
    Get
'Usage
Dim instance As TaxonomySession
Dim value As TermStore

value = instance.DefaultSiteCollectionTermStore
public TermStore DefaultSiteCollectionTermStore { get; }

Property value

Type: Microsoft.SharePoint.Taxonomy.TermStore
Returns TermStore.

Remarks

The setting is specified on the metadata application proxy connection. If multiple proxies associated with the SPWebApplication object of the SPSite site are marked as the default keyword TermStore, then the property will return a null reference (Nothing in Visual Basic) because there should only be a single default.

See also

Reference

TaxonomySession class

TaxonomySession members

Microsoft.SharePoint.Taxonomy namespace