TaxonomySession.GetDefaultKeywordsTermStore method
Gets the TermStore object to be used for keywords
Namespace: Microsoft.SharePoint.Client.Taxonomy
Assembly: Microsoft.SharePoint.Client.Taxonomy (in Microsoft.SharePoint.Client.Taxonomy.dll)
Syntax
'Declaration
Public Function GetDefaultKeywordsTermStore As TermStore
'Usage
Dim instance As TaxonomySession
Dim returnValue As TermStore
returnValue = instance.GetDefaultKeywordsTermStore()
public TermStore GetDefaultKeywordsTermStore()
Return value
Type: Microsoft.SharePoint.Client.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. If no TermStore is selected as the default, then the property will return a null reference (Nothing in Visual Basic).