TermStore.GetTermSet(Guid) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
This method retrieves a TermSet object based on a TermSet ID.
public:
Microsoft::SharePoint::Taxonomy::TermSet ^ GetTermSet(Guid termSetId);
[Microsoft.SharePoint.Client.ClientCallableMethod(CacheReturnValue=true, ClientLibraryTargets=Microsoft.SharePoint.Client.ClientLibraryTargets.NonRESTful, ReturnObjectIdentity=true)]
public Microsoft.SharePoint.Taxonomy.TermSet GetTermSet (Guid termSetId);
member this.GetTermSet : Guid -> Microsoft.SharePoint.Taxonomy.TermSet
Public Function GetTermSet (termSetId As Guid) As TermSet
Parameters
- termSetId
- Guid
The ID of the TermSet to return
Returns
A TermSet object with a matching ID, or a null reference (Nothing in Visual Basic) if it cannot be found.
- Attributes
-
ClientCallableMethodAttribute
Remarks
A a null reference (Nothing in Visual Basic) will be returned if the Term cannot be found or if the user does not have sufficient permissions to access it. This method searches across all Group objects in the TermStore.
Applies to
Feedback
Submit and view feedback for