Partilhar via


TaxonomySession.DefaultKeywordsTermStore Property

Gets the TermStore object to be used for keywords

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

Syntax

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

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

Property Value

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

Remarks

This 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 this property will return a null reference (Nothing in Visual Basic) because there should only be a single default. If no TermStore has been selected as the default, then the property will return a null reference (Nothing in Visual Basic).

See Also

Reference

TaxonomySession Class

TaxonomySession Members

Microsoft.SharePoint.Taxonomy Namespace