TermStore.GetGroup(Guid) Method

Definition

Gets a Group object based on the ID of the Group.

public:
 Microsoft::SharePoint::Taxonomy::Group ^ GetGroup(Guid id);
[Microsoft.SharePoint.Client.ClientCallableMethod(CacheReturnValue=true, ClientLibraryTargets=Microsoft.SharePoint.Client.ClientLibraryTargets.NonRESTful, ReturnObjectIdentity=true)]
public Microsoft.SharePoint.Taxonomy.Group GetGroup (Guid id);
member this.GetGroup : Guid -> Microsoft.SharePoint.Taxonomy.Group
Public Function GetGroup (id As Guid) As Group

Parameters

id
Guid

The ID of the Group to get

Returns

Group

The Group object that is associated with a specific ID or a null reference (Nothing in Visual Basic) if no such Group exists

Attributes
ClientCallableMethodAttribute

Exceptions

The id value cannot be a Guid.Empty value.

Applies to