TaxonomySession.GetTaxonomySession method
This method retrieves a TaxonomySession object for performing taxonomy-related operations.
Namespace: Microsoft.SharePoint.Client.Taxonomy
Assembly: Microsoft.SharePoint.Client.Taxonomy (in Microsoft.SharePoint.Client.Taxonomy.dll)
Syntax
'Declaration
Public Shared Function GetTaxonomySession ( _
context As ClientRuntimeContext _
) As TaxonomySession
'Usage
Dim context As ClientRuntimeContext
Dim returnValue As TaxonomySession
returnValue = TaxonomySession.GetTaxonomySession(context)
public static TaxonomySession GetTaxonomySession(
ClientRuntimeContext context
)
Parameters
- context
Type: Microsoft.SharePoint.Client.ClientRuntimeContext
Return value
Type: Microsoft.SharePoint.Client.Taxonomy.TaxonomySession
A TaxonomySession object.